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 withxmlrunner-compat
packages)
I found some information about this error in these posts:
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: