`

Eclipse运行时提示failed to create the java virtual machine

阅读更多

Eclipse用着好好的,今天打开时突然报failed to create the java virtual machine;第一反应以为是java虚拟机出问题了,重启了一下windows,不管用,从网上搜了一下,说是要修改eclipse.ini文件,照着做了修改,果然可以启动了。

修改的如下,要把几个是256的地方修改为128,不知道为什么?

 

-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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics