启动eclipse提示Version 1.4.2_03 of the JVM is not suitable for this product. Version:1.5 or greater is required.
我的jdk显示是1.7.0_79
环境变量需要怎么配置吗?
不是很懂这个配置,有没有大神有详细的步骤,百度的时候 不是很懂
Go to the directory where eclipse is installed and find a file called eclipse.ini
. Open it and add the following lines
-vm
C:\Java\JDK\1.5\bin\javaw.exe
Make sure:
-vmargs
option that may be in that file.-vm
is on its own line and the path to javaw.exe is on its own line.
参考https://stackoverflow.com/questions/6502399/version-1-4-2-03-of-the-jvm-is-not-suitable-for-this-product-1-5-or-greater-is
配置eclipse.ini指定jdk的路径
1)path : 任何位置都能找到运行程序, C:\Program Files\Java\jdk1.6.0_05\bin
2)classpath :任务位置都能找到类文件(自己的类文件) =.; C:\Program Files\Java\jdk1.6.0_05\lib
3)javahome :配置jdk主目录C:\Program Files\Java\jdk1.6.0_05