当前位置: 技术问答>java相关
我在执行javac命令的时候没有问题,但是在执行java命令的时候却报如下错误
来源: 互联网 发布时间:2015-06-23
本文导语: 我在执行javac命令的时候没有问题,但是在执行java命令的时候却报如下错误:Error opening registry key 'SoftwareJavaSoftJava Runtime Environment' Error: could not find java.dll Error: could not find Java 2 Runtime Environment. java.dll文件...
我在执行javac命令的时候没有问题,但是在执行java命令的时候却报如下错误:Error opening registry key 'SoftwareJavaSoftJava Runtime Environment'
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
java.dll文件在下面的目录
E:jdk1.3jrebin
F:Program FilesJavaSoftJRE1.3bin
哪个高手能帮我解决,谢谢!!!
我的配置:win2000 server, jdk1.3,环境变量也没有问题。
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
java.dll文件在下面的目录
E:jdk1.3jrebin
F:Program FilesJavaSoftJRE1.3bin
哪个高手能帮我解决,谢谢!!!
我的配置:win2000 server, jdk1.3,环境变量也没有问题。
|
拜托,你的javasoft注册表没有搞定。修改一下,参考:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREJavaSoft]
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit1.3]
"JavaHome"="E:\Java\jdk1.3.1_03"
"MicroVersion"="1"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit1.3.1_03]
"JavaHome"="E:\Java\jdk1.3.1_03"
"MicroVersion"="1"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Plug-in]
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Plug-in1.3.1_03]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3.1_03"
"UseJava2IExplorer"=dword:00000001
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment1.3]
"JavaHome"="E:\Java\jdk1.3.1_03\jre"
"MicroVersion"="1"
"RuntimeLib"="E:\Java\jdk1.3.1_03\jre\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment1.3.1_03]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3.1_03"
"MicroVersion"="1"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3.1_03\bin\hotspot\jvm.dll"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREJavaSoft]
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit1.3]
"JavaHome"="E:\Java\jdk1.3.1_03"
"MicroVersion"="1"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Development Kit1.3.1_03]
"JavaHome"="E:\Java\jdk1.3.1_03"
"MicroVersion"="1"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Plug-in]
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Plug-in1.3.1_03]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3.1_03"
"UseJava2IExplorer"=dword:00000001
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment1.3]
"JavaHome"="E:\Java\jdk1.3.1_03\jre"
"MicroVersion"="1"
"RuntimeLib"="E:\Java\jdk1.3.1_03\jre\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment1.3.1_03]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3.1_03"
"MicroVersion"="1"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3.1_03\bin\hotspot\jvm.dll"