Skip to main content
Jump to: navigation, search

Java9/Examples

< Java9
Revision as of 00:52, 28 June 2017 by Manoj.palat.in.ibm.com (Talk | contribs) (Created page with "This is an informal page listing out examples of features that are implemented for Java 9. You are welcome to try out these examples. If bugs are found please check https://...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is an informal page listing out examples of features that are implemented for Java 9. You are welcome to try out these examples. If bugs are found please check [here] for duplicates first and if not found, please file a bug.


List of Java 9 Features>
Sub Feature Try It Out Steps Expected Result
Java 9 JRE Support
Add Java 9 Use Eclipse Preferences -> Java -> Installed JREs -> Add Java 9 JRE recognized as a valid JRE
Project JRE Use Project Context Menu and add Java 9 JRE JRE specific (eg Object) gets resolved in the project.
Package Explorer Go to Package Explorer and expand the Java 9 JRE Modules (eg java.base etc) are listed in the project explorer view
Module Creation
Manual Context Menu of src -> New -> File - give the module-info.java as name no compiler errors
Automatic Context Menu of Project -> Cofigure -> Create module-info. A default module-info.java with all packages exported should be created

Back to the top