打开eclipse.ini添加
-vm
C:/Java/jdk1.6.0_02/bin
如下所示
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v0327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v0521-0416
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-vm
C:/Java/jdk1.6.0_02/bin
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-clean