Eclipse JVM Exit Code 127 when RTC 'Jazz Administration' perspective was opened - java

I've setup a new RHEL6.5 OS and installed Java 64bit with this tutorial. The version check shows:
[user#localhost bin]$ java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
And JAVA_HOME and JAVA_JRE are set correctly:
[user#localhost bin]$ echo $JAVA_HOME && echo $JRE_HOME
/opt/jdk1.7.0_75
/opt/jdk1.7.0_75/jre
I installed the latest version (4.4.2) of eclipse and was able to execute it. Because of my project setup I've installed the RTC-Plugin with the p2 archive: RTC-Client-p2Repo-5.0.2.zip
After the successful start I want to change into the Jazz Administration perspective Java crashes every time with this JVM error.
JVM terminated. Exit code=127 /opt/jdk1.7.0_75/jre/bin/java
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=2048m
-Xms40m
-Xmx2048m
-jar /home/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/user/eclipse//plugins/org.eclipse.platform_4.4.2.v20150204-1700/splash.bmp
-launcher /home/user/eclipse/eclipse
-name Eclipse
--launcher.library /home/user/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316/eclipse_1607.so
-startup /home/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 148010
-product org.eclipse.epp.package.jee.product
-vm /opt/jdk1.7.0_75/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=2048m
-Xms40m
-Xmx2048m
-jar /home/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Can someone help me with this error? I've tried different parameter in the eclipse.ini. This is my current eclipse.ini used while the errors occure.
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
/opt/jdk1.7.0_75/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=1024m
-Xms40m
-Xmx1024m

Ok, I found the point of failure. It's the SWT Browser which causes the problem.
This is an eclipse problem (bug 343889).
Many of the linux distributions recently underwent an upgrade to xulrunner-2.0 which is incompatible with some versions of eclipse. (even with xmlrunner-compat packages)
I found some information about this error in these posts:
Error while delivering code in RTC (Quote Source)
SWT Browser & Eclipse
After i added these lines to my eclipse.ini I encountered another error.
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.DefaultType=mozilla
But this time it was logged in the .log within my .metadata.
!ENTRY com.ibm.team.process.ide.ui 4 0 2015-03-19 03:11:17.361
!MESSAGE Error logged from Process Client UI:
!STACK 0
org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:681)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
...
If anyone looks for theses errors, try this posts:
How to install XULRunner for Eclipse
swt browser No more handles Error
SWT Browser not working?

Related

Eclipse Oxygen quits automatically on Ubuntu 14.04 with jvm exit code 1

I have come across a problem with my latest eclipse oxygen on Ubuntu 14.04 (installed within VMware). Each time after being launched for several minutes and operated on, it crashes.
This is the error message that always pops up:
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /opt/eclipse//plugins/org.eclipse.epp.package.common_4.7.0.20170620-1800/splash.bmp
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133/eclipse_1624.so
-startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata cc0022
-product org.eclipse.epp.package.cpp.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
There is no .log file in .metadata folder the first time it crashes in a freshly-created workspace.
By entering in terminal file /etc/alternatives/java /etc/alternatives/javac, the output is:
/etc/alternatives/java: symbolic link to `/usr/lib/jvm/java-8-oracle/jre/bin/java'
/etc/alternatives/javac: symbolic link to `/usr/lib/jvm/java-8-oracle/bin/javac'
and java -version yields
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Also, in case it may be of any use, below is my eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133
-product
org.eclipse.epp.package.cpp.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
I have tried a lot of methods online but none matches my case perfectly and none seems to be working.
My Eclipse was downloaded from the official site (the C/C++ package) and placed under /opt. Everything is 64-bit. I also tried deleting the eclipse package file and reinstall but failed many times with the same problem. (Not sure whether deleting the file means "uninstalling" it)
Hope someone could help! Much appreciated!

Start up error while opening eclipse

I have Eclipse in my computer and is running perfectly, after I install maven plugin and my java update itself, when I open eclipse, it show this message: "java was started but returned exit code=13", someone can help me?
Here is my java version:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)
Here is my eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms40m
-Xmx512m
and I also find that javaw.exe , java.exe and javaws.exe are 0 Kb in
C:\ProgramData\Oracle\Java\javapath, I think it cause the problem, how can i fix it?
Here is the link to my start up error
Add vm argument to eclipse.ini file which points to your jdk installation directory. For example like this:
-vm
/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java
The argument needs to be just before the -vmargs argument and needs to have a new line as in the example above
Java 8 support in eclipse is available since Eclipse Luna (4.4) or with a patched Eclipse Kepler (4.3.2) as described here

Exit code=127 when I start Eclipse

I've installed Ubuntu 10.10, Eclipse Juno and Java 1.7.
Firstly, when I tried to start Eclipse, this last one said me that it doesn't exist a java runtime environment on my computer. So, I've created in the Eclipse directory deux others directory(jre/bin) within I put all the files from the bin directory of java.
After, When I started, I had this following errors :
JVM terminated. Exit code=127
/home/dark0502/Desktop/eclipse/jre/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugin/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/dark0502/Desktop/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/dark0502/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 248015
-product org.eclipse.epp.package.java.product
-vm /home/dark0502/Desktop/eclipse/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar `
Do you have a solution ?
Thank you
Searching the net, it seems it was already reported:
http://www.linuxquestions.org/questions/linux-software-2/eclipse-juno-start-up-error-127-a-4175418488/
And the solution suggested was:
I figured it out. I installed JDK7 and was under the impression that
it would also install JRE with it. Whenever I went to anything that
used Java it said it was using 7 so I assumed it must have. I guess
the difference between the JDK and the JRE installed caused it to not
work

VM terminated. Exit code=13

Hi just now i changed to centos 5.7 i was installed java. I am sure about that it is working well i checked it javac and java commands from terminal.But when i was trying to launch eclipse is says some says that
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be
available in order to run Eclipse. No Java virtual machine was found
after searching the following locations:
/home/seed/app/jre1.5.0_10/bin
.
When i was run /eclipse -vm /home/seed/app/jre1.5.0_10/bin command from terminal.If i open in eclipse from filesystem it gives following error.
VM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/developer/Softwares/eclipse/eclipse
-name Eclipse
--launcher.library /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 68801a
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
I had the same problem, turns out the shortcut made by the installer was set to
/eclipse/ instead of /eclipse64/.
Open eclipse.ini and type the following at the beginning of the file.
-vm
/path/to/java/bin/javaw
Problem with incompatible eclise that is 32 bit and my machine is 64 bit finally i solved this By downloading 64 bit eclipse from :http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-linux-gtk-x86_64.tar.gz

Problem running eclipse under fedora core 13 x86_64 - runs and exits without even a splash screen

When I try to run eclipse under Fedora core 13 x86_64, eclipse seems to run and then exit without an error.
My install consisted of downloading this file from the Eclipse Amazon mirror:
eclipse-jee-helios-linux-gtk.tar.gz
untarring it in my home dir, cd'ing into the reulsting eclipse dir and running the eclipse executable.
The executable seems to run and then exit without displaying so much as a splash screen.
Can anyone suggest what I am doing wrong?
See below for version details and a run of eclipse with the -debug flag.
Thanks for any suggestions.
[a1155344#minimi eclipse]$ cat //etc/issue
Fedora release 13 (Goddard)
Kernel \r on an \m (\l)
[a1155344#minimi eclipse]$ uname -a
Linux minimi 2.6.33.5-124.fc13.x86_64 #1 SMP Fri Jun 11 09:38:12 UTC 2010 x86_64
x86_64 x86_64 GNU/Linux
[a1155344#minimi eclipse]$ cat eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
[a1155344#minimi eclipse]$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
[a1155344#minimi eclipse]$ ./eclipse -debug
Start VM: /usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/a1155344/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/a1155344/eclipse/eclipse
-name Eclipse
--launcher.library /home/a1155344/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503/eclipse_1307.so
-startup /home/a1155344/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata c08023
-product org.eclipse.epp.package.jee.product
-debug
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/a1155344/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
Install location:
file:/home/a1155344/eclipse/
Configuration file:
file:/home/a1155344/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/a1155344/eclipse/configuration/
Framework located:
file:/home/a1155344/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar
Framework classpath:
file:/home/a1155344/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar
Splash location:
/home/a1155344/eclipse/plugins/org.eclipse.platform_3.6.0.v201006080911/splash.bmp
Debug options:
file:/home/a1155344/eclipse/.options not found
Time to load bundles: 29
Starting application: 2773
[a1155344#minimi eclips
e]$
Make sure you are running the correct architecture with the correct JVM.
64bit Eclipse needs a 64bit JVM to run a 32bit Eclipse needs a 32bit JVM to run.
Also be certain to use the Sun JVM. Subtle errors occasionally occur with other JVM's.

Categories