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!!!
Related
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?
So last night I was creating an android XML file to show an edit text and toggle buttons.
Then today when I launched eclipse and opened my project the XML graphical layout was showing:
The rendering target (Android 4.2) is still loading.
The layout will refresh automatically once the process is finished.
I even hadn't typed a single word yet when I got the error
Java(TM) Platform SE Binary has crashed
And Eclipse returned an error dialog
Java was started but returned exit code=255
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.platform_4.2.1.v
201209141800\splash.bmp
-launcher C:\Users\<name>\Desktop\Android\eclipse\eclipse.exe
-name Eclipse
-launcher.library
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata b24_5c
-product org.eclipse.epp.package.mobile.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar
Well I don't understand what it says and now I'm unable to launch eclipse.
Thanks.
Had similiar java exit code and error when hovering over java objects. Not sure if you have the same problem, but since the error is pretty the same my solution will maybe work for you. I added "-Dorg.eclipse.swt.browser.DefaultType=mozilla" to my eclipse.ini
Set the below property in eclipse.ini has resoled this problem
-Dcom.ibm.ws.management.event.max_polling_interval=1000
I'm using Windows 8.1 Professional x64 and I was getting the same annoying error, I tried to execute Eclipse by using Troubleshoot compatibility (right click on eclipse.exe) then I chose the option "execute in Windows 8 Mode" and up now, this workaround has solved the problem...
This error is also caused by a damage on ntdll.dll that happens whenever you're trying to install Sony Vaio Drivers on Windows 8.1.
That crash also affects other apps like Windows Media Player, BSPlayer, Catalist Control Center and all of them gets solved when they're executed by using troubleshoot compatibility option as mentioned on previous answer...
I got rid of this issue by not installing all Sony drivers. It seems that Sony Vaio model VPCSB25FB doesn't fully support Windows 8.1 yet. Mainly, when you install Windows 8.1 directly, with no upgrade from Windows 8 or 7...
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.
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.