问题描述
我打开myeclipse集成的eclipse时出错,提示:JVM terminated .Exit code=-1-Xms128m-Xmx512m-Duser.language=en-XX:PermSize=128M-XX:MaxPermSize=25M-Djava.class.path=C:Program FilesMyEclipse6.0eclipsepluginsorg.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar-os win32-ws win32-arch x86-showsplash-launcher C:Program FilesMyEclipse 6.0eclipseeclipse.exe-name Eclipse--launcher.library C:Program FilesMyEclipse6.0eclipsepluginsorg.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828eclipse_1020.dll-startup C:Program FilesMyEclipse6.0eclipsepluginsorg.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar-vm C:Program FilesJavajre1.6.0_05binclientjvm.dll-vmargs-Xms128m-Xmx512mDuser.language=en-XX:PermSize=128M-XX:MaxPermSize=256M-Djava.class.path=C:Program FilesMyEclipse6.0eclipsepluginsorg.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar问题补充:谢谢congjl2002的回答,我改后是可以打开,可是开的是myeclipse了,目的是eclipse,呵呵
解决方案
1 修改eclipse.ini文件如下:-debugoptions-vmC:jdk1.5jrebinjavaw.exe-Xms40m-Xmx512m-vmargs2 将文件夹configuration下除config.ini外的所有文件删除;3 将workspace下的.metadata删除;4 重新启动就应该可以用了。
解决方案二:
装完myeclipes的eclipse只能打开MyEclipse模式了因为里面安装的时候被MyEclipse注入了很多东西如果你要纯净的,就只能在其他未知重新装一个了