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?
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.
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
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
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.
Related
I updated my java version to java 8 as one of the website demands it to run its content. But after updating the java version to Java 8 it gave me trouble in launching the eclipse. I got the following prompt when i try to launch eclipse:
Java was started but returned exit code=13
C\:ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256
-jar
D:\CMSI\eclipse-juno\eclipse-juno2\\plugins/org.eclipse.equinox.launcher_1.3.0
.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
D:\CMSI\eclipse-juno\eclipse-juno2\\plugins\org.eclipse.equinox.launcher.win3
2.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll
-startup
D:\CMSI\eclipse-juno\eclipse-juno2\\plugins/org.eclipse.equinox.launcher_1.3.0
.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 18b0_5c
-product org.eclipse.epp.package.jee.product
-vm C:\PragramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256
-jar
D:\CMSI\eclipse-juno\eclipse-juno2\\plugins/org.eclipse.equinox.launcher_1.3.0
.v20120522-1813.jar
After complete installation the system asked me to remove the older version of java, i did not remove that thinking that my application is running in older version may be it could cause any problem with that.
I got the solution of the above problem so thought of sharing it, as this problem came across with many of my colleagues.
When the java version is updated to java8, it made an entry:
C:\ProgramData\Oracle\Java\javapath
in the PATH variable(on windows system) in the System variable. So removing this entry from PATH variable would resolve the problem.
So proceed as follows:
Right click on the My Computer icon --> Properties -->Advanced system settings --> Environment Variables
Now under System variable scroll to the Path variable
Select Path variable and click on edit button
Remove the entry "C:\ProgramData\Oracle\Java\javapath" from it and exit
It would resolve the prblem..........Cheers!!!
I want to learn how to program apps for Android, and have both a new build of Java installed as well as Eclipse Luna SR2 downloaded and extracted. However, it seems I am running into a problem in starting up; I'm not sure how to solve the issue, unless it could be that I need to change the Runtime Environment variables.
Here's the message the dialog box displays when I try to run the program through Command Prompt:
Java was started but returned exit code= 13
C:\ProgramData\Oracle\Java\javapath\java.exe
-Dosgi.requiredJavaVersion= 1.6
-Xms40m
-Xmx512m
-jar C:\Users\Gregory\Documents\Eclipse
Luna\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Uses\Gregory\Documents\Eclipse
Luna\eclipse\\plugins\org.eclipse.platform_4.4.2.v20150204-1700\splash.bmp
-launcher C:\Users\Gregory\Documents\Eclipse Luna\eclipse\eclipsec.exe
-name Eclipsec
--launcher.library C:\Users\Gregory\Documents\Eclipse
Luna\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v
20150204-1316\eclipse_1608.dll
-startup C:\Users\Gregory\Documents\Eclipse
Luna\eclipse\\plugins/org.clipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 100c_84
-product org.eclipse.epp.package.java.product
-vm C:\ProgramData\Oracle\Java\javapath\java.exe
-vmargs
-Dosgi.requiredJavaVersion= 1.6
-Xms40m
-Xmx512m
-jar C:\Users\Gregory\Documents\Eclipse
Luna\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Could you please help me out here?
try this: go to System > Advanced system setting > Environment Variables
Under System variables :
C:\ProgramData\Oracle\Java\javapath;
remove this
hope this helps
My best guess based on what I see here is that the JRE "bitness" doesn't match Eclipse.
What do you get when you type "java -version" on the command prompt?
If it's telling you that you've installed a 32-bit version of Java, you'll need to change that to a 64-bit version.
Also... "-startup C:\Users\Gregory\Documents\Eclipse
Luna\eclipse\plugins/org.clipse.equinox.launcher_1.3.0.v20140415-2008.jar" looks suspicious. There's a missing "e" in "...org.clipse.equinox...". Did you modify the eclipse.ini file?
JVM terminated. Exit code=2
/usr/local/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.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_1408.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
--launcher.overrideVmargs
-exitdata 428003
-clean
-initialize
-vm /usr/local/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.2.0.dist.jar
So java -version give path not found. I have tried the following:
Edit ~/.bashrc ~/.profile /etc/environment bash.bashrc files and add to them the following
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_15
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
JRE_HOME=/usr/lib/jvm/jre1.7.0_15
PATH=$PATH:$HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
In addition, I also manually added the java bin directory to PATH. I have restarted my computer several times but I still get
bash: /usr/local/bin/java: No such file or directory
Put $JAVA_HOME/bin at the front of your path. Don't put $JRE_HOME/bin in your path at all.
Currently you're picking up some other file (probably a symlink) in /usr/local/bin, because that directory appears first in your path.
I'm not sure why you installed Java in /usr/lib; is that where the Ubuntu installer puts it? If yes, then I would expect /usr/local/bin/java to point to a valid file. You might want to double-check that.
And finally (the reason I asked for the output of java -version), make sure that you're running an x64 version of the JVM, because that's the version of Eclipse that you're using.
So where do you have Java installed, to /usr/local/bin/java or to /usr/lib/jvm/jdk1.7.0_15/bin/java?
Do a ls -l /usr/local/bin/java /usr/lib/jvm/jdk1.7.0_15/bin/java, what is the result?
Maybe, you need to update the references to your compiler path, since your ubuntu is not recognizing the path where you installed jdk or jre:
Use this command to see what are the java versions in your computer:
sudo update-alternatives --config java
Then if necessary, update the location of the jdk and jre you're using:
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/java-6.31-oracle/bin/javac" 1
And then, please, execute this:
sudo update-alternatives --config javac
I had a similar problem and solved by using this commands.
Hope it will help you.
so the problem was admin rights issue on my corporate network, because my account has limited access even with sudo. I'm reinstalling my computer with full admin rights
For my school project I have to develop a Java EE application for this I installed JBoss and I installed JBoss tools to Eclipse and after installation Eclipse started showing the message below.
---------------------------
Eclipse
---------------------------
Java was started but returned exit code=1
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar D:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher D:\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R36x_v20100810\eclipse_1309.dll
-startup D:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 1094_5c
-product org.eclipse.epp.package.jee.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar D:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
---------------------------
OK
---------------------------
I should say that I am not familiar the Java world and I even don't know what Java EE really means but Eclipse was working with the Android plugins before that.
I added these two lines as first line of eclipse.ini file and it is working now.
-vm
C:\Program Files\Java\jdk1.6.0_23\bin
But the strange thing, I had already added these lines before I installed the jBoss tools some how jBoss tools rewrite the ini file.
I just updated JBoss Tools to "3.3.0.v20120302-0331-H69-Beta1", and it crashed Eclipse (Indigo) several times.
The jboss tool added the -vm C:/java/jdk1.8.0_25/bin/javaw.exe in the end of eclipse.ini, which is repeated twice. Delete it and save, your problem will be solved.
I have JBOSS IDE 1.5(eclipse 3.x) on my windows xp computer and it works fine for years.
Today when I tried to open JBOSS IDE 1.5, it give me following error when startup:
JVM terminated. Exit code=2
C:\WINDOWS\system32\javaw.exe
-Xmx512m
-jar C:\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher C:\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata 1128_70
-vm C:\WINDOWS\system32\javaw.exe
-vmargs
-Xmx512m
-jar C:\eclipse\startup.jar
But I did not change anything for last time good working.
So I check javaw.exe on windows/system32 and found it's updated at 2009-07-30.
Really frustrated. How to resolve this problem?
See the reply here forums.sun ... try it
I would guess that you have a bad JAVA_HOME environmental variable.