Cannot create Eclipse workspace

Made it to work in OSX Sierra by adding the following:

--add-modules=java.se.ee

at the end of eclipse.ini


You are starting Eclipse using Java 9. This currently does not work with recent builds of Java 9.

Eclipse bug 493761 describes this problem and is currently scheduled to be fixed in Eclipse 4.6.2 (Neon.2)

Until Eclipse 4.6.2 is available use a Java 8 JDK to run Eclipse.

Update:

To run Eclipse with Java 9 you need to modify the 'eclipse.ini' file in your Eclipse installation and add the line:

--add-modules=ALL-SYSTEM

as a line following the -vmargs line in the file. This adds the Java 9 module containing the missing classes.

Eclipse Oxygen.1a (4.7.1a) due for release on 11 October 2017 will have full Java 9 support.

Also see Configuring Eclipse for Java 9 in the Eclipse wiki.