Home >Java >javaTutorial >Why Won't My Eclipse Oxygen Installation Start, and How Can I Fix It?
Eclipse Oxygen won't start due to missing Java classes, specifically the javax.annotation.PostConstruct class. This can be resolved by modifying the eclipse.ini file in the Eclipse installation and adding --add-modules=java.se.ee as a line following the -vmargs line. This action adds the Java 9 module that contains the missing classes.
Alternatively, you can use --add-modules=ALL-SYSTEM.
For a more comprehensive solution, you can refer to this article on the Eclipse Wiki: Configure Eclipse for Java 9.
In the meantime, you can await the release of Eclipse Oxygen.1a (4.7.1a), which is scheduled for October 11, 2017, as it will include full support for Java 9.
The above is the detailed content of Why Won't My Eclipse Oxygen Installation Start, and How Can I Fix It?. For more information, please follow other related articles on the PHP Chinese website!