当前位置: 技术问答>java相关
别嫌我烦,我真的怕了jsp了!(jsp人少,来这边问问)
来源: 互联网 发布时间:2015-02-09
本文导语: 求救!!!我的jsp环境本来好了,可是98系统崩了,只好从装,可是怎么装tomcat中的startup.bat也显示You must set JAVA_HOME to point at your Java Development Kit installation 查看注册表发现系统崩前的注册表中??????...
求救!!!我的jsp环境本来好了,可是98系统崩了,只好从装,可是怎么装tomcat中的startup.bat也显示You must set JAVA_HOME to point at your Java Development Kit installation
查看注册表发现系统崩前的注册表中???????处不一样。
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件]
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件1.3]
"JavaHome"="F:\java\jdk1.3" ??????????????
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3]
"JavaHome"="F:\java\jdk1.3" ??????????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3.0]
"JavaHome"="F:\java\jdk1.3" ???????????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
而现在却是
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件]
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件1.3]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ????????????
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ?????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3.0]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ?????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
手工改动注册表也不行........这是为什么呀,我都没信心学jsp了,连环境都配不好,谁知道呀,救救我呀!
查看注册表发现系统崩前的注册表中???????处不一样。
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件]
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件1.3]
"JavaHome"="F:\java\jdk1.3" ??????????????
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3]
"JavaHome"="F:\java\jdk1.3" ??????????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3.0]
"JavaHome"="F:\java\jdk1.3" ???????????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
而现在却是
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件]
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava 插件1.3]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ????????????
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment]
"CurrentVersion"="1.3"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ?????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
[HKEY_LOCAL_MACHINESoftwareJavaSoftJava Runtime Environment1.3.0]
"JavaHome"="C:\Program Files\JavaSoft\JRE\1.3" ?????????
"MicroVersion"="0"
"RuntimeLib"="C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
手工改动注册表也不行........这是为什么呀,我都没信心学jsp了,连环境都配不好,谁知道呀,救救我呀!
|
在你的autoexec.bat中加入如下语句:
set JAVA_HOME=C:JDK1.3
"C:JDK1.3"是你的JDK的主目录。
set JAVA_HOME=C:JDK1.3
"C:JDK1.3"是你的JDK的主目录。
|
这不是jsp麻烦。是你要看install 文档呀。而且看一下错误提示也可以知道呀。