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

Compare with Current View Page History

« Previous Version 20 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 ojdbc8.jar (version 19.7.0.0) running with SHRINE 3.0.0-PR1, and it can be downloaded from https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/19.7.0.0/.  Place the driver in /opt/shrine/tomcat/lib before restarting SHRINE.

  • No labels