Monday, June 9, 2014

Android : Eclipse failed to create the java virtual machine

  1. Open folder with Eclipse.exe and find eclipse.ini file
  2. Replace -vmargs with -vm "C:\Program Files\Java\jdk1.6.0_05\bin\javaw.exe"

-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.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm "C:\Program Files\Java\jdk1.6.0_05\bin\javaw.exe"
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M

No comments:

Post a Comment