2013年2月24日 星期日

開啟Eclipse 出現 Fail to create the Java Virtual Machine





開啟Eclipse 出現 Fail to create the Java Virtual Machine。



爬文之後發現問題出現在Eclipse.ini 檔中的


-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
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m

將256 M改為128 M 即可正常啟動

沒有留言:

張貼留言