setclasspath.sh和catalina.sh中写入
export JAVA_HOME=/qbtapp/jdk-8u111-linux-i586/jdk1.8.0_111export JRE_HOME=/qbtapp/jdk-8u111-linux-i586/jdk1.8.0_111/jre