请问eclipse 无法启动 无法创建虚拟机 怎么解决?

我用的XP系统 之前很能用的 忽然就打不开了

30秒到达战场
浏览 510回答 3
3回答

大话西游666

在你的eclipse根目录下找到eclipse.ini 打开:设置如下参数--launcher.XXMaxPermSize256M--launcher.XXMaxPermSize128m-vmF:/jdk1.6.20/bin(你的jkd路径)-vmargs-Dosgi.requiredJavaVersion=1.5-Xms64m-Xmx512m然后重启试试

Cats萌萌

解决方法:打开eclipse目录下的eclipse.ini文件,修改–launcher.XXMaxPermSize属性,其中此属性有两处-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m将其值改为128m即可,如下。(事实上,只改后面一个就可以,启动eclipse时以后者为准)-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize128M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize128m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m然后就可以成功启动。

FFIVE

不能启动,可能是你的文件损坏,或者是 你装 java jdk 了吗?最好安装新版本的,然后要配置环境变量,右键我的电脑-->properties-->general-->environment-->new ,(我的jdk是安装在D:\Program Files\之下)variable name:java_home; variable value:D:\Program Files\Java\jdk1.5.0_22\; click okvariable name:path; variable value:D:\Program Files\Java\jdk1.5.0_22\bin;D:\Program Files\Java\jdk1.5.0_22\jre\bin; click okvariable name:classpath; variable value:D:\Program Files\Java\jdk1.5.0_22\lib; click ok.(环境变量配置完)如果还不行,你还是在官网上 重新下在个 eclipse 或者 是 myeclipse把,祝你成功 !
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

SQL Server