eclipse提示failed to create JVM

修改eclipse.ini文件

一、修改

--launcher.XXMaxPermSize  128m

二、加入

 -vm

D:\sun\Java\jre6\bin\javaw.exe

 

 

 

-startup

plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810

-product

org.eclipse.epp.package.reporting.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

512M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

512M

--launcher.defaultAction

openFile

-vm

D:\sun\Java\jre6\bin\javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m

你可能感兴趣的:(eclipse)