I have a simple hello world project in eclipse that I want to run with java 9. The program starts when I do not have a file module-info.java
, but when I add this file, I get the following error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module modulefinder not found
Playback steps
1. Create a new maven project
2. Change the compiler and build the jre path to 9
3. Automatically create module.info.java
4. Update the junit dependency in junit to 4.12 if eclipse complains about 5. Run the project
Is this an eclipse-related issue, or am I missing something when starting a project?
The version of Eclipse FYI that I use is Oxygen.1a Release (4.7.1a)
source
share