tomcat6.0.45+jdk1.8注意点若干

java使用jre 1.8 windows版本,

tomcat采用6.x版本,设置完java_home,path,始终显示

D:\apache-tomcat-6.0.45\bin>startup.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE

改为tomcat1.8版本即可,

1.6版本还需要设置catalina_home等。

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0