Eclipse does not launch (Ubuntu) : JVM terminated.

2020-02-12 03:07发布

问题:

I have a problem with Eclipse. When I try to launch it, I get this error message:

JVM terminated. Exit code=13
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins       /org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist/eclipse_1407.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
--launcher.overrideVmargs
-exitdata a8004
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar 

I have found the same error code but not the same text below, and the proposed solutions didn't work.

Can you help me?

回答1:

Usually has to do with incompatible architectures of Eclipse and the JVM. I am betting you got eclipse 32 bit trying to run on 64 bit jvm.



回答2:

As mentioned above, you are most certainly using incompatible JVM. Run the following command to check and set proper JVM:

sudo update-alternatives --config java


回答3:

It is okay that the error message is different, because you are starting eclipse with different parameters and the error message is simply listing the parameters. Thus, the answers provided by google will work, and I think that the information provided in the following pages will be enough.

http://www.ehow.com/how_4784069_terminated-exit-code-error-eclipse.html

Cannot run Eclipse; JVM terminated. Exit code=13



回答4:

I had similar problem. It solved after, I have download JRE from http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html

and put it in the path of eclipse as shown below -

abc@ubuntu:~/Downloads/eclipse$ ls

about_files

configuration

eclipse.ini

icon.xpm

p2 about.html

dropins

epl-v10.html

jre

plugins artifacts.xml

eclipse

features

notice.html

readme

I hope it helps.