When you start eclipse, the JVM terminated pops up. Exit code=127: The Wrong solution

Source: Internet
Author: User
Tags gtk



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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.