4 ways to resolve eclipse flash-back

Source: Internet
Author: User
Tags ini win32

Eclipse does not start up abnormally: JVM terminated. Exit Code=-1

Eclipse does not start up and the following error occurs:

The

JVM terminated. Exit code=-1
-xms40m
-xmx256m
-djava.net.preferipv4stack=true
-xx:maxpermsize=512m
- DJAVA.CLASS.PATH=D:/DEVELOP/PHP/ECLIPSE/PLUGINS/ORG.ECLIPSE.EQUINOX.LAUNCHER_1.0.101.R34X_V20081125.J
AR
-os Win32
-ws WIN32
-arch x86
-showsplash d:/develop/php/eclipse//plugins/org.eclipse.platform_ 3.3.101.v200902111700/splash.bmp
-launcher d:/develop/php/eclipse/eclipse.exe
-name Eclipse
-- launcher.library 
D:/develop/php/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.101. R34x_v20080731/ecl
Ipse_1115.dll
-startup d:/develop/php/eclipse/plugins/org.eclipse.equinox.launcher_ 1.0.101.r34x_v20081125.jar
-VM c:/java/jdk1.6.0_10/bin/. /jre/bin/client/jvm.dll
-vmargs
-xms40m
-xmx256m
-djava.net.preferipv4stack=true
-XX: maxpermsize=512m
-djava.class.path=d:/develop/php/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.r34x _V20081125.J
ar

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.101.r34x_v20081125.jar
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
512m
-vmargs
-xms40m
-xmx256m
-djava.net.preferipv4stack=true

The first kind: Eclipse.ini in memory settings too big problem, modified a bit,-xms256m changed to-xms128m, XMX512M changed to xmx256m, 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. A Eclipse.ini file is re-created automatically at launch time.

The fourth type:

The system installs two eclipse, one is Eclipse sdk3.2 and the other is Eclipse Java EE.

At first, two eclipse operations were normal, but later, without knowing what was going on, the eclipse Java EE was turned on for a flashback.

Modification Eclipse.ini Invalid, referring to the online many methods also not.

Finally found a method of egg ache:

1. Open Eclipse's Workspace directory

2. Remove the. Metadata Directory

This resolves the Eclipse flashback issue, but when you open eclipse, the items that were previously displayed in eclipse are cleared.

Which do not understand is the first case: My memory configuration has not changed, and used to be normal, how suddenly the memory configuration is too large, do not understand, if any one knows, also please advise.

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.