5 JAVA Upgrade
Configuring Existing JAVA8 environments
To upgrade from JAVA8 to JAVA11, follow these steps:
- Install the JAVA11 in the server.
- Use the below 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 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).
- 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 a new environment with JAVA11, follow these steps:
- Configure and complete the installation of CRR 8.1.2.11.0 with JAVA11.
- Up the environment until CRR 8.1.2.11.0 is applied and configured.
- 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:
- 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.
- Before applying AAI 8.1.2.6, install and configure JAVA 17 on the server.
- Upgrade the environment by applying AAI 8.1.2.6, followed by CRR 8.1.2.12.0.
- Complete the remaining post-installation configuration and deployment activities.