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