Eclipse 6.5 for J2EE 无法启动故障一例

Eclipse6.5突然无法启动了,显示时窗口如下:

JVM terminated. Exit code=-1
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:/eclipse/J2EE/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-os win32
-ws win32
-arch x86
-showsplash C:/eclipse/J2EE//plug.......

 

经查为内存问题,将

-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

将最后一行-Xms512m改为-Xms256m,问题解决。

你可能感兴趣的:(Eclipse 6.5 for J2EE 无法启动故障一例)