eclipse提示failed to create JVM
网上搜索一番,提示修改eclipse.ini文件
一、修改
--launcher.XXMaxPermSize 128m
二、加入
-vm
C:\Program Files\Java\jre5\bin\javaw.exe
后证实加入vm参数后可正常启动
-startupplugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmC:\Program Files\Java\jre5\bin\javaw.exe-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m