当我尝试下面的代码运行,错误和Tomcat service.bat安装
D:\apache-tomcat\bin>service.bat install
我得到这个错误。
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
我怎么能解决这个问题?
你不必修改'service.bat'本身,你可以在调用'service.bat'之前输入'set ...'命令 – Stijn 2017-07-05 09:28:10