tomcat启动报错/apache-tomcat8/bin/catalina.sh: line 401: /datalook/bin/java: No such file or directory

linux 启动tomcat报错:/home/datalook/apache-tomcat8/bin/catalina.sh: line 401: /home/datalook/bin/java: No such file or directory;找不到jdk的路径

解决办法:在apache-tomcat8/bin/catalina.sh中配置jdk的路径:

export JAVA_HOME=/home/datalook/jdk1.7.0_71
export JRE_HOME=/home/datalook/jdk1.7.0_71/jre

你可能感兴趣的:(tomcat启动报错/apache-tomcat8/bin/catalina.sh: line 401: /datalook/bin/java: No such file or directory)