Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater

本文解决在使用Eclipse启动时报错的问题,指出是由于安装了Oracle客户端导致JVM版本不匹配,通过调整系统变量path中的Oracle配置路径位置解决了该问题。

博客分类: java基础知识

Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required

   今天早上启动eclipse时突然报这个错误,昨天还没报今天怎么就报错了呢,想起昨天我安装了一个oracle 10.1的客户端,原以为是端口被占用了,可关闭oracle默认启动项后依然报错,然后再仔细看一下报的错.
   翻译过来就是:"jvm虚拟机版本1.42_03不再适合这个项目,要求更换成版本1.5的",其实什么意思,就是
使用eclipse-jee-helios-win32 时,eclipse启动报错: Version 1.4.2_03 if the JVM is not suitable for this product. Version 1.5 or greater us required. 由于Oracle的缘故它变更了原有的jre环境
   解决:在我的电脑-高级-环境变量path中,将系统变量path里面的内容调整一下,Oracle的内容全部移到最后边,
  如现在的是:   E:\oracle\product\10.1.0\Client_1\bin;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs
  你要改成这样:  %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;E:\oracle\product\10.1.0\Client_1\bin; E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin



//调试成功
你可以这样做,安装oracle以后,oracle的配置路径占据了path的前面部分,你复制剪贴oracle的部分到path的最后面即可。比如:


path: E:\oracle\product\10.1.0\Client_1\bin;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs

那么你剪贴 E:\oracle\product\10.1.0\Client_1\bin;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin ;
然后在path路径的最后添加一个   分号; 再在分号后面加入剪贴的内容,如上面写的那样就可以了。


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值