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