Eclipse crashes after JBoss tools installation - java

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.

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

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

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?

Cannot run Eclipse; JVM terminated. Exit code=13 unlike others

I guess this is something like this:
Cannot run Eclipse; JVM terminated. Exit code=13
But I do not want to have to completely reinstall Eclipse.
So, since I do not want to reinstall eclipse, I was hoping someone could look at my error message and my eclipse.ini and give me some ideas.
Here is the error message that pops up when I try to run eclipse on my red hat:
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Dorg.eclipse.swt.browser.DefaultType=webkit
-jar /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse/eclipse
-name Eclipse
--launcher.library /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807/eclipse_1502.so
-startup /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 2c0012
-product org.eclipse.epp.package.jee.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Dorg.eclipse.swt.browser.DefaultType=webkit
-jar /rhel5pdi/apollo/var/env/eclipse-4.2/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
============
Here is the eclipse.ini
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Dorg.eclipse.swt.browser.DefaultType=webkit
I had a similar problem a while back. I eventually found the solution in a post on StackOverflow (will cite when I remember where). The poster mentioned something pertaining to the "eclipse holy trinity". This refers to Eclipse, JRE/JDK, and OS all being of the same architecture. So 32bit/32bit/32bit or 64bit/64bit/64bit.
Exit code 13 is (always) due to a bit-ness mismatch between Eclipse and the JVM it's running in; they must both be either 32-bit or 64-bit. Many people run into trouble because they think they're running Eclipse in a specific JVM but have not properly specified it in eclipse.ini and so Eclipse picks up the incorrect one.
Read the eclipse.ini wiki page carefully to learn how to specify the full path to a JVM (preferably a JDK) that you want Eclipse to run in. I repeat: read the instructions fully and carefully as the format is very particular.
Alternatively, you can use the Eclipse Installer which automatically locates an appropriate JVM on your machine, or directs you where to get one if it can't find one. See https://stackoverflow.com/a/31885692/639520

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.

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