When you start eclipse, the JVM terminated is not up. Exit Code=-1

Source: Internet
Author: User

When you start eclipse, the JVM terminated is not up. Exit Code=-1
There is an error, do not know what the reason for the original good eclipse, this morning, a problem, start up also throw JVM terminated. Exit Code=-1, the Internet to check the information, the original many people and I have such a problem, really thank the predecessors.

Eclipse does not start up and the following error occurs:

JVM terminated. Exit Code=-1
-dosgi.requiredjavaversion=1.5
-xms40m
-xmx512m
-xx:maxpermsize=256m
-djava.class.path=d:\eclipse_rcp\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-os Win32
-ws Win32
-arch x86
-showsplash D:\eclipse_rcp\\plugins\org.eclipse.platform_3.3.200.v200905282000\splash.bmp
-launcher D:\eclipse_rcp\eclipse.exe
-name Eclipse
--launcher.library d:\eclipse_rcp\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\ Eclipse_1206.dll
-startup D:\eclipse_rcp\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-product org.eclipse.epp.package.rcp.product
-VM C:\Program files\java\jdk1.5.0_09\bin\. \jre\bin\client\jvm.dll
-vmargs
-dosgi.requiredjavaversion=1.5
-xms40m
-xmx512m
-xx:maxpermsize=256m
-djava.class.path=d:\eclipse_rcp\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar

There are several ways to resolve such errors on-line search:

First: The contents of Eclipse.ini under the Eclipse installation path are as follows:

-startup

Plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519

-product

Org.eclipse.epp.package.jee.product

--launcher. Xxmaxpermsize

256M

-showsplash

Org.eclipse.platform

--launcher. Xxmaxpermsize

256m

-vmargs

-dosgi.requiredjavaversion=1.5

-xms40m

-xmx512m

The first kind: Eclipse.ini in the memory settings too big problem, modified a bit, 256m changed to 128m, 512m to 256m, you can.

Cause: Large memory configuration is the cause.

The second type: in Eclipse.ini, the following two lines are added, the problem is resolved:
-vm
D:/program Files/java/jdk1.6.0/bin/javaw.exe

Where Javaw.exe is the path to my JDK installation. Meanwhile, the complete Eclipse.ini is as follows

-startup
Plugins\org.eclipse.equinox.launcher_1.0.101.r34x_v20081125.jar
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
512m
-vm
C:\Java\jdk1.6.0_10\bin\javaw.exe
-vmargs
-xms40m
-xmx256m
-djava.net.preferipv4stack=true

Third: Remove the Eclipse.ini file from the Eclipse installation directory and restart the Eclipse.exe.


This article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/CaidChen/archive/2010/02/22/5315833.aspx

When you start eclipse, the JVM terminated is not up. Exit Code=-1

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.