Topic: 求助高手 (JB9 & j2sdk1.4.1)

  Print this page

1.求助高手 (JB9 & j2sdk1.4.1) Copy to clipboard
Posted by: jxsu1979
Posted on: 2003-10-23 14:34

我的机子上装JBuilder9和Jsdk1.4.1,可我现在在命令行上运行Java程序时却显示:Registry key "software\javasoft\java runtime environment\current version " has valued 1.4.0.0,but '1.4' required
Error :could not found java.dll
Error :could not found java 2 runtime environment

为什么会出现这种情况呀,如果我在JBuilder里运行的同样的程序却没这个问题,在命令行里去出现了
希望各位高手不吝赐教!!
本人急需能在命令行上运行,谢谢各位大侠

2.Re:求助高手 [Re: jxsu1979] Copy to clipboard
Posted by: fastray
Posted on: 2003-10-23 15:22

你检查一下环境变量,看看那里是否写的正确。

3.Re:求助高手 (JB9 & j2sdk1.4.1: Registry key "software\javasoft\ .. " has valued 1.4.0.0,but '1.4' re [Re: jxsu1979] Copy to clipboard
Posted by: Biubiu
Posted on: 2003-10-24 12:26

两种方法:
1 修改注册表,把current version改为1.4.1
2 直接运行1.4.1的java.exe,比如

D:\j2sdk1.4.1\bin\java MyProgram

4.Re:求助高手 (JB9 & j2sdk1.4.1: Registry key "software\javasoft\ .. " has valued 1.4.0.0,but '1.4' re [Re: jxsu1979] Copy to clipboard
Posted by: yuanlu123
Posted on: 2003-10-29 11:01

把注册表里的值改一下

5.reinstall [Re: jxsu1979] Copy to clipboard
Posted by: lcwling
Posted on: 2003-11-01 00:06

重装Jsdk1.4.1,覆盖原路径即可;即制定Jsdk1.4.1的安装路径和目前的一样!!

6.Re:求助高手 [Re: jxsu1979] Copy to clipboard
Posted by: zerol
Posted on: 2003-11-03 15:17

王森的《java 深度历险》里面讲得很好的.

7.Re:求助高手 (JB9 & j2sdk1.4.1) [Re: jxsu1979] Copy to clipboard
Posted by: zsle888
Posted on: 2003-11-06 20:59

在命令行里,直接使用命令set path=c:\Jsdk1.4.1\bin


   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