Can't start Eclipse Luna SR2 on Windows 8.1 (64-bit) - java

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?

Related

Unable to launch eclipse after updating java version to java 8.........Resolved

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!!!

Eclipse Download on Ubuntu error

I just downloaded Ubuntu 13.04 on my laptop, and I'm trying to run Eclipse. When I downloaded it and tried to run it, it told me to install JRE, so I did. But now it's showing this error:
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sam/Eclipse/eclipse//plugin/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/sam/Eclipse/eclipse//plugins/org.eclipse.platform_4.3.1.v20130911-1000/splash.bmp
-launcher /home/sam/Eclipse/eclipse/eclipse
-name Eclipse
--launcher.library /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20130807-1835/eclipse_1506.so
-startup /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata e5800c
-product org.eclipse.epp.package.standard.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
I'm very new to Ubuntu and I'm not sure at all what is going on. Did something install incorrectly? Is something not installed?
Thanks in advance!
Looks like you are trying to run the 32 bit version of Eclipse with a 64 bit Java. You need to use the 64 bit version of Eclipse.
I tried to install Eclipse Standard 4.3.1 (from http://www.eclipse.org/downloads) on ArchLinux.
Here is the version of my java installation:
$ java -version
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.2) (ArchLinux build 7.u40_2.4.2-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b56, mixed mode)
...and got exactly the same error.

Eclipse does not launch (Ubuntu) : JVM terminated. Exit code=13

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.

Eclipse crashes after JBoss tools installation

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.

Java update on windows xp problem

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.

Categories

Resources