window:
设置 startup.bat
set JAVA_HOME=C:Program FilesJavajdk1.8.0_144set JRE_HOME=C:Program FilesJavajre1.8.0_144
linux:
设置 catalina.sh
export JAVA_HOME=/usr/local/jdk1.8.0_144export JRE_HOME=/usr/local/jdk1.8.0_144/jre