Eclipse does not launch (Ubuntu) : JVM terminated. Exit code=13
39,182
Solution 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.
Solution 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
Author by
Loïc Teyssier
Updated on December 21, 2020Comments
-
Loïc Teyssier over 3 years
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?
-
Loïc Teyssier over 12 yearsHow do I check the architecture of Eclipse and JVM ?
-
Wissam Youssef over 12 yearsfor java: java -version. for eclipse: not sure actually. I just remember what I downloaded
-
Loïc Teyssier over 12 yearsjava version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05) Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)
-
Loïc Teyssier over 12 years" 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.
-
ruhsuzbaykus over 12 yearsseems 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.
-
Wissam Youssef over 12 yearsI opened the eclipse dir , and found eclipse.ini file it has some plugins details that are 64 bit. maybe you can find out the same way :). and I am guessing since there is no bit version for your java environment that is 32 bit. since I got the sun java and openjdk 64 bit and they both say 64 bit.
-
Wissam Youssef over 12 yearsactually for sure. the eclipse error message says: - arch: x86_64. so yep. jvm 32 bit and eclipse 64 bit. Resolved.
-
Loïc Teyssier over 12 yearsYep that was that. Thanks for your help :).
-
Cholowao almost 7 years#Warning!!!!!! This is not a linux commands code! This is magic It worked like a CHARM!!
-
JavaBeast almost 7 yearsWorked for me, and almost nothing ever seems to