Tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

tomcat启动报Tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined   这是因为tomcat找不到安装的jdk在什么地方,所以我们需要在tomcat中配置一下 tomcat/bin/catalina.sh 添加如下配置 export JAVA_HOME=/usr/local/jdk expor
相关文章
相关标签/搜索