首页 新闻 会员 周边

你们都是怎么解决这种问题的,详细介绍最好了,

0
[已解决问题] 解决于 2017-08-10 09:05

启动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

环境变量需要怎么配置吗?

不是很懂这个配置,有没有大神有详细的步骤,百度的时候  不是很懂

♛恍若心逝的主页 ♛恍若心逝 | 菜鸟二级 | 园豆:267
提问于:2017-06-28 11:22
< >
分享
最佳答案
0

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:

  1. You add that text before any -vmargs option that may be in that file.
  2. The -vm is on its own line and the path to javaw.exe is on its own line.
  3. You specify the full path to your JDK 1.5's javaw.exe

 

 

参考https://stackoverflow.com/questions/6502399/version-1-4-2-03-of-the-jvm-is-not-suitable-for-this-product-1-5-or-greater-is

奖励园豆:5
ycyzharry | 高人七级 |园豆:25651 | 2017-06-28 17:49
其他回答(2)
0

配置eclipse.ini指定jdk的路径

TCG2008 | 园豆:1150 (小虾三级) | 2017-06-28 12:11
0

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 

知~味~ | 园豆:226 (菜鸟二级) | 2017-06-28 23:05
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册