按jdk了,Myeclipse能打开!但eclipse不能JVM terminated Exit code=-1-Dosgi.requiredJavaVersion=1.5-Xms40m-xms256m-XX:MaxPermSize=256m-Djava.class.path=F:\eclipse\plugins/org.eclipse.equinox.lanucher_1.0.201.R35x_v20090715.jar-os win32-ws win32-arch x86-showsplash F;\eclipse\\plugins/org.eclipse.platform_3.3.201.v200909170800\sqlash.bmp- launcher F:\eclipse\eclipse.exe-name Eclipse-- launcher.library F:\ eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll-startup F:\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar-product org.eclipse.epp.package.jee.product-vm c:\Program Files\java\jre6\bin\client\jvm.dll-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx256m-XX:MaxPremSize=256m-Djava.class.path=F:\eclipse\plugins/org.eclipse,equinox.launcher_1.0.201.R35x_v20090715.jar
解决办法:
打开安装目录下的eclipse.config(或eclipse.ini)配置文件
-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
两种解决方案:
1、-vmargs删除这句话就可以了
2、其中的“Xmx512m” 改成“Xmx256m”,就行了。