10

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?

Elrond_EGLDer
  • 47,430
  • 25
  • 189
  • 180
Loïc Teyssier
  • 321
  • 2
  • 3
  • 9
  • 1
    Possible duplicate http://stackoverflow.com/questions/4945178/cannot-run-eclipse-jvm-terminated-exit-code-13 – Bill Nov 22 '11 at 17:19
  • What does *java --version* say? Eclipse doesn't work very well with the Java runtime that comes with most versions of Ubuntu, you need the Sun/Oracle JDK. – Daff Nov 22 '11 at 17:22
  • @Daff i'm using it with openjdk 7/ubuntu every day and it works flawlessly. I think i didn't have a single crash since a year or so (was using sun jdk before). So maybe update to 7 is enough. – soulcheck Nov 22 '11 at 17:30
  • http://stackoverflow.com/a/9636283/405117 helped me – Vikram Nov 01 '12 at 20:59

4 Answers4

23

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.

Wissam Youssef
  • 800
  • 1
  • 10
  • 19
20

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
Zivorad Baralic
  • 366
  • 2
  • 7
0

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.

Shashi
  • 201
  • 3
  • 3
0

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

Community
  • 1
  • 1
ruhsuzbaykus
  • 12,637
  • 2
  • 18
  • 19
  • " When you initially get the error message, you may see something that says "requiredJavaVersion=1.5", which will tell you what version of the JVM is required. " The error message doesn't say that. – Loïc Teyssier Nov 22 '11 at 17:30
  • 1
    seems like you have a 32bit JVM but 64 bit eclipse. Download and try a 32bit version of eclipse (or 64 bit Java) and I think it will work. – ruhsuzbaykus Nov 22 '11 at 17:43