Neon: how to run on jdk9?

Edit: You can download the latest version of eclipse which has support for Java 9 – https://www.eclipse.org/downloads/eclipse-packages/


I am running Java(TM) SE Runtime Environment (build 9-ea+158) and eclipse Version: Neon.2 Release (4.6.2) – Build id: 20161208-0600

Somehow the solutions with -Djdk.launcher.addmods= and -addmods using values java.se.ee or java.annotations.common did not work.

Below is the solution that worked for me:

--add-modules=java.se.ee

Source: https://issues.jboss.org/browse/JBIDE-22417?focusedCommentId=13310535&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13310535

Leave a Comment