https://bugzilla.redhat.com/show_bug.cgi?id=1677713
Bug ID: 1677713 Summary: Eclipse is not compatible with jdk11 Product: Fedora Version: 28 Status: NEW Component: eclipse Assignee: mat.booth@redhat.com Reporter: imc@cs.ox.ac.uk QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, andjrobins@gmail.com, dbhole@redhat.com, ebaron@fedoraproject.org, eclipse-sig@lists.fedoraproject.org, jerboaa@gmail.com, jjohnstn@redhat.com, lef@fedoraproject.org, mat.booth@redhat.com, rgrunber@redhat.com Target Milestone: --- Classification: Fedora
Created attachment 1535269 --> https://bugzilla.redhat.com/attachment.cgi?id=1535269&action=edit workspace/.metadata/.log
$ rpm -qa 'java*headless' java-1.8.0-openjdk-headless-1.8.0.191.b13-0.fc28.x86_64 java-openjdk-headless-11.0.1.13-11.rolling.fc28.x86_64 $ rpm -q eclipse-platform eclipse-platform-4.7.3a-5.fc28.x86_64 $ alternatives --display java java - status is manual. link currently points to /usr/lib/jvm/java-11-openjdk-11.0.1.13-11.rolling.fc28.x86_64/bin/java $ eclipse [ An error has occurred. See the log file ] [ $HOME/workspace/.metadata/.log ]
Now eclipse-platform has a dependency on java-headless, which is not provided by java-openjdk-headless-11 but is provided by java-1.8.0-openjdk-headless. So the correct Java is there if Eclipse will use it. It seems to me that if Eclipse is going to be picky about the Java version then it should be a bit more selective and not just choose the first one on my PATH.
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
Christian Stadelmann fedora@genodeftest.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora@genodeftest.de
--- Comment #1 from Christian Stadelmann fedora@genodeftest.de --- On Fedora 29, Eclipse is compatible with java 11.
$ rpm -qa java*headless java-1.8.0-openjdk-headless-1.8.0.201.b09-2.fc29.x86_64 java-openjdk-headless-12.0.0.33-1.ea.1.rolling.fc29.x86_64 java-11-openjdk-headless-11.0.2.7-0.fc29.x86_64
$ rpm -q eclipse-platform eclipse-platform-4.10.0-2.fc29.x86_64
$ LC_ALL=C alternatives --display java java - status is manual. link currently points to /usr/lib/jvm/java-11-openjdk-11.0.2.7-0.fc29.x86_64/bin/java […]
Eclipse reports that it has been started with Java 11.
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
--- Comment #2 from Christian Stadelmann fedora@genodeftest.de --- Nevertheless, it is not (yet?) possible to uninstall java-1.8.0-openjdk. Do you know why?
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WONTFIX Last Closed| |2019-04-09 15:14:05
--- Comment #3 from Mat Booth mat.booth@redhat.com --- Unfortunately I plan no further Eclipse updates to F28.
F28 will be EOL soon after F30 is released so I would advise you to update to F29 at this time.
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
--- Comment #4 from Mat Booth mat.booth@redhat.com --- (In reply to Christian Stadelmann from comment #2)
Nevertheless, it is not (yet?) possible to uninstall java-1.8.0-openjdk. Do you know why?
Java 11 had a major change (removal of Enterprise Edition APIs) and not all upstream projects have adapted yet to this. Many many projects and libraries still need to be patched to accomodate for this.
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mizdebsk@redhat.com
--- Comment #5 from Mikolaj Izdebski mizdebsk@redhat.com --- (In reply to Christian Stadelmann from comment #2)
Nevertheless, it is not (yet?) possible to uninstall java-1.8.0-openjdk. Do you know why?
OpenJDK 8 is still default JDK in all supported Fedora versions. Many core applications require it. These application were not tested with JDK 11.
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
--- Comment #6 from Christian Stadelmann fedora@genodeftest.de --- (In reply to Mikolaj Izdebski from comment #5)
OpenJDK 8 is still default JDK in all supported Fedora versions. Many core applications require it. These application were not tested with JDK 11.
As Java 11 is the next LTS version, wouldn't it make sense to have a plan to move to Java 11?
https://bugzilla.redhat.com/show_bug.cgi?id=1677713
--- Comment #7 from Mikolaj Izdebski mizdebsk@redhat.com --- (In reply to Christian Stadelmann from comment #6)
As Java 11 is the next LTS version, wouldn't it make sense to have a plan to move to Java 11?
Maybe. But this bug is not the right place do discuss such plans. That's up to maintainers of OpenJDK and Javapackages.
eclipse-sig@lists.fedoraproject.org