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:

  1. Install the JAVA11 in the server.
  2. Use the following command to list the files and note the file names:
    grep -r -l '/scratch/jdk1.8.0_161'
    (Change the JAVA path accordingly).

    Note:

    The above command must be executed in the $FICHOME.
  3. Modify the listed files from JAVA8 to JAVA11.
  4. Use the following command to change from JAVA8 to JAVA11.
    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"
    (Change the JAVA path accordingly)
  5. Update the JAVA8 path with JAVA11 in the .profile.
  6. 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:

  1. 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.
  2. Follow the steps described in Pre-Installation Steps & How to Apply This Maintenance Level Release? for applying BD 8.1.2.9.0.