Upgrade Java 8 to Java 11 for Apache Tomcat
Server
Upgrade Java 8 to Java 11 for Apache Tomcat
Server
To upgrade Java 8 to Java 11 for Apache Tomcat Server, follow these
steps:
Log in to the Apache Tomcat Server as a non-root user.
Update the value for JAVA_HOME from JRE 1.8 to JRE 1.11 in the user
.profile. For Example,
JAVA_HOME=/usr/java/ jdk-11.0.11
Clear the Application cache. Navigate to the following path and delete the
files: <Tomcat installation
folder>/work/Catalina/localhost/<Application
name>/org/apache/jsp
If you wish to install a new instance of the Apache Tomcat
Server, follow these steps:
Install Apache Tomcat Server 9.0.x with Java 11.
Perform the configurations for the newly installed Tomcat server.
For more information, see Configure Resource Reference in
Tomcat Application Server.
Note:
Update the Connector Port in
/apache-tomcat-9.0.24/conf/server.xml file to
that of the existing Tomcat instance.
Note down the new deployment path to perform OFSAA
Configurations.