Eclipse failure Solution
Refer to blog
Http://blog.csdn.net/jaopen/archive/2007/12/30/2004631.aspx
Cause Analysis blog
Http://www.eclipsezone.com/eclipse/forums/m92212393.html
When eclipse is started one day, the following error occurs:
JVM terminated. Exit code =-1
-Dosgi. requiredjavaversion = 1.5
-Xms40m
-Xmx512m
-XX: maxpermsize = 256 m
....
-Vm d:/program files/Java/jdk1.6.0/bin/../JRE/bin/client/JVM. dll
...
It seems to be caused by a large memory configuration. I modified eclipse. ini and added the following two lines to solve the problem:
-VM
-VM
D:/program files/Java/jdk1.6.0/bin/javaw.exe
Javaw.exe is the installation path of my JDK. At the same time, the complete eclipse. INI is as follows:
-VM
D:/program files/Java/jdk1.6.0/bin/javaw.exe
-Startup
Plugins/org. Eclipse. Equinox. launcher_1.0.201.r35x_v20090715.jar
-- Launcher. Library
Plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.0.200.v20090519
-Product
Org. Eclipse. EPP. Package. Jee. Product
-- Launcher. xxmaxpermsize
256 m
-Showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
256 m
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms40m
-Xmx512m