简体   繁体   中英

“Could not create the JVM” error at Eclipse startup

I've got error like this:

JVM启动器

My eclipse.ini:

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_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

--launcher.defaultAction openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6

-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
-vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe

how to fix this problem?

您可以改用这种方式开始食:

eclipse -vm <path to java>

In the eclipse.ini file change the following

--launcher.XXMaxPermSize
900m

from

--launcher.XXMaxPermSize
512m

Also check out this link and mostly this error comes due to the hardware issues like the RAM.

same thing happened with me when i updated my jre7 , what worked for me was updating the new path in windows environment variables, add a new system variable :

Variable Name: PATH

Variable value: C:\\Program Files\\Java\\jdk1.7.0_51\\bin

hope this helps..:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM