在linux中停止tomcat的时候,出现如下提示。
过程如下:
输入# ./shutdown.sh
提示:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
原因权限不够:
输入 sudo -i
然后在执行:./shutdown.sh即可
在linux中停止tomcat的时候,出现如下提示。
过程如下:
输入# ./shutdown.sh
提示:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
原因权限不够:
输入 sudo -i
然后在执行:./shutdown.sh即可