window:
设置 startup.bat
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144
set JRE_HOME=C:\Program Files\Java\jre1.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 Files\Java\jdk1.8.0_144
set JRE_HOME=C:\Program Files\Java\jre1.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