6.1 JAVA Upgrade
This section describes the Java upgrade.
Note:
- From BD 8.1.1.1.0 onwards, JAVA11 is supported with the following web
servers:
- Weblogic 14.1.x.x
- Apache Tomcat 9.0.xx
- Existing web servers must be re-configured/re-installed with JAVA11.
Configuring Existing JAVA8 Environments
To upgrade from JAVA8 to JAVA11:
- Install the JAVA11 in the server.
- Use the following command to list the files and note the file
names:
(Change the JAVA path accordingly).grep -r -l '/scratch/jdk1.8.0_161'
Note:
The above command must be executed in the $FICHOME. - Modify the listed files from JAVA8 to JAVA11.
- Use the following command to change from JAVA8 to
JAVA11.
(Change the JAVA path accordingly)grep -r -l 'OLDPATH/jdk1.8.0_161' . | sed "s|^|\"|g" | sed "s|$|\"|g" | xargs sed -i "s|OLDPATH/jdk1.8.0_161|NEWPATH/jdk-11.0.11|g"
- Update the JAVA8 path with JAVA11 in the .profile.
- Re-create and re-deploy the OFSAA EAR/WAR file and Restart the OFSAA App Server and Web Server.
Configuring New JAVA11 Environments
To create new environment with JAVA11:
- Configure and complete the installation of BD 8.1.2.0.0 with
JAVA11.
Note:
Do not bring up the environment until BD 8.1.2.9.0 is applied and configured. - Follow the steps described in Pre-Installation Steps & How to Apply This Maintenance Level Release? for applying BD 8.1.2.9.0.