In a Linux environment, launching Eclipse will pop up and report an error like this, and you won't be able to start the tool
JVM terminated. Exit code=127
/eclipse/jdk1.7.0_71/bin/java
-dosgi.requiredjavaversion=1.6
-xx:maxpermsize= 256m
-xms40m
-xmx512m
-jar/root/source1/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0. V20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash/root/source1/eclipse//plugins/ Org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher/root/source1/eclipse/eclipse
-name Eclipse
--launcher.library/root/source1/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200. V20140603-1326/eclipse_1605.so
-startup/root/source1/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0. V20140415-2008.jar
--launcher.appendvmargs
-exitdata 250014
-product Org.eclipse.epp.package.jee.product
-vm/eclipse/jdk1.7.0_71/bin/java
-vmargs
- dosgi.requiredjavaversion=1.6
-xx:maxpermsize=512m
-xms128m
-xmx512m
Solution:
Scenario One : (from the network) rely on Libsoup:yum install Libsoup
Scenario Two : in the installation path of Eclipse, locate the file/usr/eclipse/configuration/config.ini, open it, and add the following:
Org.eclipse.swt.browser.defaulttype=mozilla
Scenario Three : Write a script to run Eclipse:
Export mozilla_five_home= "(Installation Environment address)"
such as: export mozilla_five_home= "/usr/eclipse"
Note: Because of the development of the intranet environment, so can not connect to the network, can only be modified in the configuration file, in Linux, if you do not know the installation path of Eclipse, using the command:
rpm-ql Eclipse or find /-name config.ini Find related files.
Hope to help you!!!
When you start eclipse, the JVM terminated pops up. Exit code=127: The Wrong solution