awsliferay

Use an independent Java installation instead of the bundled one

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

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