Why Won't Eclipse Oxygen Start (For the First Time)

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

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

--add-modules=java.se.ee

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

You can also use

--add-modules=ALL-SYSTEM

See Eclipse Wiki: Configure Eclipse for Java 9.

Eclipse Oxygen.1a (4.7.1a) is due to be released on 11 October (2017) with full Java 9 support.

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

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

--add-modules=java.se.ee

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

You can also use

--add-modules=ALL-SYSTEM

See Eclipse Wiki: Configure Eclipse for Java 9.

Eclipse Oxygen.1a (4.7.1a) is due to be released on 11 October (2017) with full Java 9 support.

Eclipse Oxygen 3 not able to run - org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

The Eclipse Oxygen 3 will not work with Open JDK JRE, kindly uninstalled the Open jdk from teminal using the following command

sudo apt-get autoremove openjdk-11-jre

And restart the eclipse.

It should run.

MacOS: Eclipse will not start when Java 9 is the default

You are running with Java 9. Downgrade to Java 8 for Eclipse.

Eclipse won't start but no error is shown

It seems to fail when trying to restore the workspace.

Try:

  1. Open a new workspace. If it has been set to use a default, go to
    <Eclipse_root_dir>\configuration\.settings\org.eclipse.ui.ide.prefs and set SHOW_WORKSPACE_SELECTION_DIALOG to true

  2. Try deleting <workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap

  3. As suggested in a comment: If using Eclipse 4, you may have to delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi aswell.

scala Eclipse is not opening and giving error: org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError

You're using Java 9 so you have to add --add-modules=ALL-SYSTEM to the eclipse.ini

or you can remove Java 9 and use Java 8. It works fine for me.

Scala IDE throwing error whens starting up

As suggested by @greg-449 I looked into "eclipse.app/Contents/Eclipse/eclipse.ini" file and added the "--add-modules=ALL-SYSTEM" line below -vmargs line. And it started the scala IDE.

Also this answer helped me
https://stackoverflow.com/a/46370112/4390618



Related Topics



Leave a reply



Submit