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.