现在的位置: 首页 > 综合 > 正文

打开eclipse时出现 failed to create the Java Virtual Machine的错误

2013年11月10日 ⁄ 综合 ⁄ 共 442字 ⁄ 字号 评论关闭

我用的是jdk1.7.0

修改eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-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

把红色的部分都改成128m重起后就OK

【上篇】
【下篇】

抱歉!评论已关闭.