eclipse启动的时候出现这个提示的解决方法:
1. 如果你的jdk没有安装,或者jdk没有设置环境变量的话,按网上的jdk安装方法来设置classpath、path、Java-home
2. 如果上述都有设置好仍然报错的话,在eclipse的解压缩路径下有个eclipse.ini文件,这是eclipse启动时初始化环境等参数的配置文件,打开这个文件,在openFile后面加上:jdk的bin路径地址 -vm D:/jdk1.7/bin
完整文件如下:
1. -startup
2. plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
3. --launcher.library
4. plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
5. -product
6. org.eclipse.epp.package.jee.product
7. --launcher.defaultAction
8. openFile
9. --launcher.XXMaxPermSize
10. 256M
11. -showsplash
12. org.eclipse.platform
13. --launcher.XXMaxPermSize
14. 256m
15. --launcher.defaultAction
16. openFile
17. -vm
18. D:/jdk1.7/bin
19. -vmargs
20. -Dosgi.requiredJavaVersion=1.5
21. -Xms40m
22. -Xmx512m
23. -Dfile.encoding=UTF-8
- PS:我出现这个问题是因为我将soapui的路径添加到环境变量里,然后又删除了soapui的路径,就报这个问题了。