To replace the JDK used by Ops Center Administrator:
Note:
- You cannot revert the changes. If you want to replace the JDK with the bundled JDK, re-install Ops Center Administrator. The JDK re-installation process includes backup, uninstall, fresh install, and then restore backup.
- By default, when you upgrade Ops Center Administrator, the JDK is replaced with the bundled JDK. If you replace the JDK with the --keep-java option, the JDK will be automatically applied after the next upgrade installation.
JDK prerequisites:
- Amazon Corretto 17
- File type must be Linux x64 Compressed Archive
Note: Make sure no one is using Ops Center Administrator and no jobs are running. Jobs running during the JDK replacement might fail.
# /opt/rainier/bin/rainier-replace-jdk --file /tmp/jdk/amazon-corretto-17.0.10.7.1-linux-x64.tar.gz -u vamuser --backup-dir /tmp/replacejdk_backup