您的位置:首页 > 编程语言 > Java开发

eclipse启动时弹出Failed to create the Java Virtual Machine 是怎么回事?怎么解决?

2012-02-19 12:33 591 查看
方法如下: 找到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

转自:http://blog.sina.com.cn/s/blog_5f1e7b340100yvc9.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐