Topic: 自找的麻烦(Error:could not find Java 2 Runtime Environment)

  Print this page

1.自找的麻烦(Error:could not find Java 2 Runtime Environment) Copy to clipboard
Posted by: 雪中行
Posted on: 2005-03-20 20:50

我本来用的是jdk1.5.0_01,程序可以编译、运行,后来又装了JBuilder 9.0,然后觉得还想用jdk1.5.0_01,就把JBuilder 9.0卸载了,但又出现了新的问题:编译时可以通过,但是在运行时,就会出现以下错误:
Registry key 'software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.4', but '1.5' is required.
Error:could not find java.dll
Error:could not find Java 2 Runtime Environment.


请尽量用准确的文字描述作为标题

重装 JDK1.5.0, well, _02, 不行吗?

2.Re:自找的麻烦(Error:could not find Java 2 Runtime Environment) [Re: 雪中行] Copy to clipboard
Posted by: zhaojs
Posted on: 2005-03-21 09:48

会不会是你环境变量的问题?你看看你的环境变量是否在安装jbuilder时修改了

3.Re:自找的麻烦(Error:could not find Java 2 Runtime Environment) [Re: 雪中行] Copy to clipboard
Posted by: 雪中行
Posted on: 2005-03-22 11:09

我也觉得可能是环境变量的问题,但是我在装JBUILDER时没做什么修改呀,卸载后再看环境变量也没问题呀
真不知道是怎么了

4.Re:自找的麻烦(Error:could not find Java 2 Runtime Environment) [Re: 雪中行] Copy to clipboard
Posted by: why
Posted on: 2005-03-23 01:45

maybe it's not 环境变量 but certain Windows Registry parameters.

have you tried reinstalling JDK?

5.Re:自找的麻烦(Error:could not find Java 2 Runtime Environment) [Re: 雪中行] Copy to clipboard
Posted by: watercow
Posted on: 2005-03-23 11:35

机子里应该有多个jre
修改注册表 Java Runtime Environment


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923