tomcat 在 CentOS 中无法关闭

tomcat 在 CentOS 中无法关闭

我试图关闭 tomcat 但出现以下错误。

/opt/apache-tomcat-7.0.67/bin/catalina.sh: line 439: /usr/local/jdk/bin/java: No such file or directory

这是完整的输出,

root@www [/opt/apache-tomcat-7.0.67/bin]# ./shutdown.sh Using CATALINA_BASE: /opt/apache-tomcat-7.0.67 Using CATALINA_HOME: /opt/apache-tomcat-7.0.67 Using CATALINA_TMPDIR: /opt/apache-tomcat-7.0.67/temp Using JRE_HOME: /usr/local/jdk Using CLASSPATH: /opt/apache-tomcat-7.0.67/bin/bootstrap.jar:/opt/apache-tomcat-7.0.67/bin/tomcat-juli.jar /opt/apache-tomcat-7.0.67/bin/catalina.sh: line 439: /usr/local/jdk/bin/java: No such file or directory

答案1

/opt/apache-tomcat-7.0.67/bin/catalina.sh:第 439 行:/usr/local/jdk/bin/java:没有此文件或目录

这有什么不明白的?看来你JRE_HOME可能错了。

相关内容