I just installed the OpenJDK version of the JDK 11 General-Availability Release on Windows 10. I tried to install it as a JRE in the just-released Eclipse 2018-09 (4.9.0), and a message appared in the Eclipse dialog saying:
You selected a JRE that this version of Eclipse JDT does not yet support fully. Some of the features may not work as expected.
What is the problem?
Update: From an Internet search, I found some code that seems to indicate that Eclipse has an internal list of known Java versions, and it gives the above message if the new JDK version has a higher version than the known Java versions. (That's how I interpret the code.) Really? Eclipse launched a new 2018-09 version, just days before JDK 11 was released, without updating its list of known Java versions to include Java 11??
Maybe someone has a more authoritative answer.
A Java 11 JRE is recognized by Eclipse for launching. It can be added from the Window > Preferences > Java > Installed JREs > Add... page. It can also be added from the Package Explorer using the project's context menu.
Eclipse 4.17 (2020-09) A Java 11 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2020-09 packages based on Eclipse 4.17, as well as the Installer.
Our community is committed to supporting JDK levels as long as they are supported at the OpenJDK open source project with a significant user base. Currently, Eclipse OpenJ9 produces a new release every quarter that can build against all JDK levels currently supported by the OpenJDK community.
Eclipse 2018-09 doesn't support JDK 11 out of the box, but the official plugin for JDK 11 has now been released on the market place:
https://marketplace.eclipse.org/content/java-11-support-eclipse-2018-09-49
Here is the release announcement: https://www.eclipse.org/lists/jdt-dev/msg01049.html
OracleJDK and OpenJDK are supported in the same way (Other JDKs like OpenJ9 should work, too)
If a new JDK release is not supported, you cannot use its new language features and you may not be able to use it all for development because of class format changes. Launching is likely to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With