version 1.4.2_03 is not suitable for this product.1.5 or greater is required
2012-07-20 14:10
375 查看
今天遇到一个很奇怪的问题。
eclipse3.4 原有的jdk是1.5,因为项目需要,要安装jdk1.4。于是装了一个安装版的jdk1.4,但环境变量并没有改变。打开eclipse时就报错“version 1.4.2_03 is not suitable for this product.1.5 or greater is required”。java -version查看了一下jdk版本仍然是1.5的啊,真是奇怪了。在网上查了一下,说是将eclipse目录下的eclipse.ini文件中的-Dosgi.requiredJavaVersion改为1.4,这次是可以打开了,但是没有web相关的功能。
最后折腾了好久终于解决了,解决办法如下:
在eclipse.ini中添加一条语句:
-vm
C:\Java\JDK\1.5\bin\javaw.exe
(注意:javaw.exe的路径是你自己的安装路径,-vm和下面的要单独一行;这一句要加在vmargs参数的前面)
eclipse3.4 原有的jdk是1.5,因为项目需要,要安装jdk1.4。于是装了一个安装版的jdk1.4,但环境变量并没有改变。打开eclipse时就报错“version 1.4.2_03 is not suitable for this product.1.5 or greater is required”。java -version查看了一下jdk版本仍然是1.5的啊,真是奇怪了。在网上查了一下,说是将eclipse目录下的eclipse.ini文件中的-Dosgi.requiredJavaVersion改为1.4,这次是可以打开了,但是没有web相关的功能。
最后折腾了好久终于解决了,解决办法如下:
在eclipse.ini中添加一条语句:
-vm
C:\Java\JDK\1.5\bin\javaw.exe
(注意:javaw.exe的路径是你自己的安装路径,-vm和下面的要单独一行;这一句要加在vmargs参数的前面)
相关文章推荐
- Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
- Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
- Version 1.4.2_03 of the JVM is not suitable for this product. Version:1.6 or greater is required.
- eclipse 弹出 Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is requir
- Version 1.5 of the JVM is not suitable for this product.Version:1.6 or greater is required
- Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- Version 1.5.0_07 of the JVM is not suitable for this product. Version: 1.6 or greater is required.
- Version 1.4.0 of the JVM is not suitable for this product.Version:1.5.0 or greater is required
- Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required
- Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required。
- eclipse 报错Version 1.6.0_45 of the JVM is not suitable for this product. Version:1.7 or greater is required
- Version 1.6.0_13 of the JVM is not suitable for this product. Version: 1.7 or greater is required.[Solved]
- Android开发之Version 1.6.0_65 of the JVM is not suitable for this product, 1.8 or greater is required.
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- version 1.5.2-04 of the jvm is not suitable for this product. version:1.6 or greater is required
- Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.
- version 1.7.0_17 of the JVM is not suitable for this product , Version 1.8 or greater i s required
- Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required。
- version 1.5.2-04 of the jvm is not suitable for this product. version:1.6 or greater is required