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

Compare with Current View Page History

« Previous Version 23 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 tomcat environment uses the correct "JAVA_HOME" and "JDK_HOME" values.  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
... 


Additionally, you should make sure to upgrade your JDBC driver.  The driver should support JDK 11 and later.  We have had success with the following versions of the driver:

Place the driver in /opt/shrine/tomcat/lib and remove any prior versions of the driver before restarting SHRINE.

  • No labels