virtualMachinetomcat

Use an independent Java installation instead of the bundled one

Change the JAVA_HOME variable in the /opt/bitnami/tomcat/bin/setenv.sh file and the JRE_HOME variable in the /opt/bitnami/tomcat/scripts/ctl.sh to point to your custom Java installation. Then, restart the Tomcat server:

$ sudo /opt/bitnami/ctlscript.sh restart tomcat

Last modification April 8, 2020