Eclipse setup for Java 9 :

In this article we are giving steps to setup eclipse for java 9. To provide support for java 9 there is an eclipse 4.7-U-Builds update released for 4.7 Oxygen version.

Assumptions :

  1. We assume that Java 9 already downloaded and installed and setup environment paths. This is normal process as previous version of java installation. If you are not setup you need to download and install jdk 9.
  2. We assume that eclipse oxygen version already downloaded and setup. If you are not setup download and setup.

Steps for eclipse setup for Java 9  :

Step 1 :

In eclipse click on Help option -> Select Eclipse Market place.


Step 2 :

In find search field enter Java 9 and press enter. From the results click on install by selecting relevant update and then follow Step 3.


Step 3 :

Select 4.7-U-builds update and then follow installation process, then restart eclipse.


Step 4 :

Open eclipse -> select Window option -> Select Preferences option.

Expand Java -> Select Installed JREs -> click on Add button.


Step 5 :

Select Directories button -> Select Jdk 9 installation path -> click on Finish.


Step 6 :

Select newly configured JRE (JDK 9 check box).


Step 7 :

In window preferences select Compiler option -> Select 9 from drop down -> then click on save and close.

Conclusion :

Above steps are  setup process to work on Java 9. By using above configuration you can create new java 9 projects, modules and compile your code in java 9.

If you want to work with modules, to create file right click on project -> select configure option -> select