You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Upgrade to JDK 11. There are a variety of JDK vendors. We test with the Azul Zulu JDK 11. Our only known requirement beyond JDK11 is that tomcat's https should recognize contemporary root certificates.

If you wish to use Azul Zulu JDK 11 follow the Zulu Installation Guide . Otherwise, follow the instructions from your preferred vendor.

No matter which option you choose to install JDK, be sure that your system environment variables are set to point "JAVA_HOME" and "JDK_HOME" to the correct locations.  If you are using bash shell, you can add a file in /etc/profile.d/ to include the following settings (this is just an example; please use your system's own settings):

export JAVA_HOME=/opt/where_your_jdk_lives
export JDK_HOME=$JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH
export MANPATH=$JAVA_HOME/man:$MANPATH

Another option is to set JAVA_HOME and JRE_HOME in /opt/shrine/tomcat/bin/setenv.sh :

setenv.sh
...
export JAVA_HOME=/opt/where_your_jdk_lives
export JRE_HOME=$JAVA_HOME
  • No labels