Home >Java >javaTutorial >Why Won't My Eclipse Oxygen Installation Start, and How Can I Fix It?

Why Won't My Eclipse Oxygen Installation Start, and How Can I Fix It?

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2024-12-19 22:08:10445browse

Why Won't My Eclipse Oxygen Installation Start, and How Can I Fix It?

Why won't eclipse oxygen start (for the first time)?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn