This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Cannot run Eclipse; JVM terminated. Exit code=13
Java was started but returned exit code=13
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms128m
-Xmx512m
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/:/usr/lib/jni
-Djava.class.path=/home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/giri/eclipse//plugins/org.eclipse.platform_4.2.1.v201209141800/splash.bmp
-launcher /home/giri/eclipse/eclipse
-name Eclipse
--launcher.library /home/giri/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
-startup /home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-product org.eclipse.epp.package.jee.product
-vm /usr/lib/jvm/java-6-openjdk/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms128m
-Xmx512m
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/:/usr/lib/jni
-Djava.class.path=/home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
How do I resolve this?
See here: Eclipse Helios not launching
This occurs when using an x86 Eclipse with a x64 JDK (and perhaps
vice-versa). Just point to a JDK with the same architecture as your
Eclipse in your eclipse.ini file, eg:
-vm /opt/java/jdk1.6.0_25_x86/jre/bin/javaw.exe
Related
Eclipse Luna Service Release 2 (4.4.2) on Ubuntu 14.04
I try to install Activiti Designer in Eclispe via command line:
eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://activiti.org/designer/update/ -destination /usr/lib/eclipse -installIU org.activiti.designer.feature.feature.group
This fails as follows:
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316/eclipse_1607.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 400001
-product org.eclipse.epp.package.java.product
-application org.eclipse.equinox.p2.director
-repository http://activiti.org/designer/update/
-destination /usr/lib/eclipse
-installIU org.activiti.designer.feature.feature.group
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
The installation via Help > Install New Software is working as expected.
Any ideas?
This line looks a little suspicious -vm /usr/bin/java
Can you check for that in eclipse.ini - those values should be on separate lines, e.g.
-vm
/usr/bin/java
as mentioned in http://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM
I'm getting this problem when I start-up. I managed to get it working perfectly then I did a system restore (which brought me back to before I had it) and since then its not worked, though I re-installed it and did everything as I had before. According to the uninstall/change program menu I have Java 7 Update 75 (64-bit) and Java SE Development Kit 7 Update 75 (64-bit) installed.!
Thanks a lot guys!
JVM terminated. Exit code=2
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.platform_4.4.2.v20150204-1700\splash.bmp
-launcher C:\Users\tom\Desktop\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316\eclipse_1608.dll
-startup
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdate 1f18_68
-product org.eclipse.epp.package.java.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xmsm40
-Xmx512m
-jar
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Answer can be found here - Eclipse: JVM terminated. Exit code=2
"The problem was resolved when I changed PATH variable by removing
C:\ProgramData\Oracle\Java\javapath;
In command prompt I also ran following commands:
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25
set PATH=C:\Program Files\Java\jdk1.8.0_25\bin;%PATH%
But I think the most important was to remove C:\ProgramData\Oracle\Java\javapath; from the PATH."
On Ubuntu 14.04 with oracle JRE JDK installed when trying to run Eclipse I get the following error
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
-launcher /home/stamatisvergos/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140116-2212/eclipse_1508.so
-startup /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata 1bb8017
-product org.eclipse.epp.package.standard.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
pls help
Please make sure your are running a 32bit Eclipse only with a 32bit Java JRE installed. and a 64bit Eclipse only with a 64bit Java JRE installed.
Don't try to run a 32bit Eclipse version with a 64bit Java JRE. This will crash in an error like you get(also the other way around will not run).
I am really desperate to install eclipse on ubuntu 12.04 (32 bit). The problem is, eclipse hangs when the splashscreen shown. I run eclipse with -debug option and got following log message :
Start VM: -Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/iwan/dev-new/eclipse/eclipse
-name Eclipse
--launcher.library /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-product org.eclipse.epp.package.jee.product
-debug
-clean
-clearPersistedState
-vm /usr/lib/jvm/java-6-oracle/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Install location:
file:/home/iwan/dev-new/eclipse/
Configuration file:
file:/home/iwan/dev-new/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/iwan/dev-new/eclipse/configuration/
Framework located:
file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Splash location:
/home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
Debug options:
file:/home/iwan/dev-new/eclipse/.options loaded
Time to load bundles: 70
Starting application: 11447
My java version is
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)
Any idea how to fix this ?
Tried all the options, nothing worked. So I finally figured out the solution:
I removed all JRE installations in my C:\Program Files and C:|Program Files(x86) folders. Installed a new JDK 7 package, copied the fullpath of the JDK7\bin folder and appended it at the end of the "Path" variable under 'Environment variables' of my Windows 7 pc. Then restarted everything, so it worked.
I have downloaded Eclipse IDE for Java Developers on my ubuntu 10.04 LTS image so that i can do some modding for Minecraft, sadly when i tried to run eclipse I got this error
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/sheldon/eclipse//plugins/org.eclipse.platform_4.2.1.v201209141800/splash.bmp
-launcher /home/sheldon/eclipse/eclipse
-name Eclipse
--launcher.library /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
-startup /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 194800f
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
I have JDK7 x86 installed as well as wine and the latest version of IcedTea (java for ubuntu).
In the past i have found that programs request to much RAM / Video RAM and so they don't run, although eclipse doesn't seem to: -Xms40m -Xmx512m (I think the max is -Xmx512M -Xms512M on my computer)
You shouldn't need wine or IcedTea. If you get the JRE from SUN and the IDE from Eclipse.org you should be able to navigate to the Eclipse directory and ./eclipse
JRE:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr1