Ubuntu Eclipse JVM terminated. Exit code=8

By | July 6, 2015

Getting this error message here?

jvm exit 8

JVM terminated. Exit code=8
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/lib/eclipse//plugins/org.eclipse.platform_3.8.1.dist/splash.bmp
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
–launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist/eclipse_1503.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
–launcher.overrideVmargs
-exitdata 31000a
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar

It is probably because you are using incompatible JVMs. You probably ran an update and the settings were changed in the background. This is what worked for me:

1) Run:

sudo update-alternatives --config java

2) Choose a different JVM

jvm

Number 1 worked for me. To me it didn’t really matter what I selected because I program in C anyway. I just needed Eclipse to open!

Hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *