解决方法:
1、先找出java安装路径
$ which java
/data/apps/java/jdk1.8.0_91/bin/java
2、在catalina.sh中加入配置
JAVA_HOME=/data/apps/java/jdk1.8.0_91
JRE_HOME=/data/apps/java/jdk1.8.0_91/jre
解决方法:
1、先找出java安装路径
$ which java
/data/apps/java/jdk1.8.0_91/bin/java
2、在catalina.sh中加入配置
JAVA_HOME=/data/apps/java/jdk1.8.0_91
JRE_HOME=/data/apps/java/jdk1.8.0_91/jre