logo资料库

Eclipse打不开.doc

第1页 / 共3页
第2页 / 共3页
第3页 / 共3页
资料共3页,全文预览结束
eclipse 打不开解决方案(failed to create java virtual Machine) 1, 在 cmd 里输入 java –version,查看是否存在 java 虚拟机。 2.重新配置 JDK 的环境变量: classpath 配置. ,;C:\Program Files\Java\jdk1.7.0\lib\tools.jar; JAVA_HOME Path C:\Program Files\Java\jdk1.7.0\ ;C:\Program Files\Java\jdk1.7.0\bin 3,如果还没有解决,更改一下 eclipse 的配置文件,^ ^很好用的。 找到 eclipse 目录下的 eclipse.ini,可以看到如下内容: -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0. v20100503 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize
256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m 将其修改为如下内容,即可启动 Eclipse -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0. v20100503 -product org.eclipse.epp.package.jee.product --launcher.defaultAction
openFile --launcher.XXMaxPermSize 128M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 128m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx256m
分享到:
收藏