failed to create the java

之前一直在使用,后来打开出现这个问题,上网搜索有很多的解决办法。

我使用的是adt-bundle-windows-x86-20140702,按照网上的解决办法提结合实际把eclipse.ini里的两个256m改为128m,即:

-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.v20120913-144807
-product
com.android.ide.eclipse.adt.package.adtproduct
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m                //此处256改为128
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=128m      //还有此处的256改为128
-Xms512m
-Xmx1024m

 

经上述修改后,我的eclipse又能继续使用。

posted @ 2015-01-21 21:44  飞一般炒饭  阅读(166)  评论(0编辑  收藏  举报