5 JAVA Upgrade

Configuring Existing JAVA8 environments

To upgrade from JAVA8 to JAVA11, follow these steps:

  1. Install the JAVA11 in the server.
  2. Use the below 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 below 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 paths 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 a new environment with JAVA11, follow these steps:

  1. Configure and complete the installation of CRR 8.1.2.11.0 with JAVA11.
  2. Up the environment until CRR 8.1.2.11.0 is applied and configured.
  3. Follow the steps from Pre-Installation for applying CRR 8.1.2.11.0.

Configuring New JAVA17 Environments

To create a new environment with JAVA17, follow these steps:

  1. Set up the base CRR 8.1.2.0.x environment using JAVA 8 or JAVA 11, as JAVA 17 is not supported at this release level.
  2. Before applying AAI 8.1.2.6, install and configure JAVA 17 on the server.
  3. Upgrade the environment by applying AAI 8.1.2.6, followed by CRR 8.1.2.12.0.
  4. Complete the remaining post-installation configuration and deployment activities.