转载出处:https://blog.csdn.net/zhch152/article/details/30463249
启动eclipsde时因为jdk版本与电脑环境变量配置的不一样导致报错
解决办法
eclipse根目录下有个eclipse.ini文件,添加个 -vm参数
-vm
D:/soft/java/JDK1.6/jdk1.6/bin/javaw.exe
注意位置
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:/soft/java/JDK1.6/jdk1.6/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms128m
-Xmx512m
-XX:PermSize=64M
-XX:MaxPermSize=128M