Failed to create the Java Virtual Machine 的解决方案

来源:互联网 发布:Mac Miller 编辑:程序博客网 时间:2024/05/17 07:43

Failed to create the Java Virtual Machine

版本:eclipse-jee-helios-win32

自己电脑上装的jdk版本是:1.6.0_20

 

解决方法:

找到eclipse目录下的eclipse.ini

在其中加入红色字体内容,指定JVM所在路径:
 
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
E:\tools\jdk1.6.0_41\bin\javaw.exe
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m