Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Java11/Examples

This is an informal page listing examples of features that are implemented by the Java 11 Support. You are welcome to try out these examples. If you find bugs, please file a bug after checking for a duplicate entry here.


Feature / Steps Expected Result
The Pre-requisite: Java 11 JRE Support
Add Java 11 JRE Use Window -> Preferences-> Java -> Installed JREs -> Add...


FileAddJ11.jpg
[note: Eclipse -> Preferences in Mac / Window -> Preferences in Windows]

Java 11 JRE recognized as a valid JRE
Project JRE In Package Explorer Use project's context menu and add Java 11 JRE JRE specific (eg Object) gets resolved in the project.
Package Explorer Go to Package Explorer and expand the Java 11 JRE Modules (eg java.base etc) are listed in the package explorer view
The First Step: Java 11 Compliance
Set Project Compliance in Package Explorer Context Menu of Project -> Properties -> Set project-specific, drop down to 11



J11.compliance.jpg

11 is shown in the drop down list

Back to the top