All Products: How to Upgrade Java JDK on CentOS 6 and 7
book
Article ID: 286826
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)Carbon Black Cloud Endpoint Standard (formerly Cb Defense)Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)Carbon Black EDR (formerly Cb Response)
Issue/Introduction
To upgrade to the latest Java OpenJDK platform
Environment
All Products
Java OpenJDK
CentOS 6: All Supported Versions
CentOS 7: All Supported Versions
Resolution
From CentOS, open Terminal.
Confirm which Java version is currently installed.
java -version
Browse and find the preferred, available Java OpenJDK.
yum list *openjdk*
Install the required version of Java.
yum install java-<version here>-openjdk
Set the home environment for Java.
Type:
update-alternatives --config java
Choose the appropriate selection according to the number shown.
Confirm that the latest version of Java has been installed.
java -version
Additional Information
Upgrading major versions of Java OpenJDK on the application server of on-prem EDR is not recommended.
If a specific Java OpenJDK version does not appear as being available this is due most likely to CentOS version incompatibility.