修改/home/tomcat/bin/setclasspath.sh文件,增加java路径指向
export JAVA_HOME=/home/user/program/jdk1.8.0_271/export JRE_HOME=/home/user/program/jdk1.8.0_271/jre