My Oracle Support Banner

Oracle Linux : Switching Back To Previous Version of openjdk (Doc ID 2056238.1)

Last updated on FEBRUARY 01, 2024

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86

Goal

How to downgrade the Java version which got installed/updated during system patching. 

The "java" command does not run the JVM that has been installed.  Java applications can fail to run if an unexpected Java Runtime Environment is found.

Recent version is - java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64 

Required version is - java-1.7.0-openjdk-1.7.0.85-2.6.1.3.0.1.el6_7.x86_64

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Verify current version of Java used by OL
 2. Switch to older version of java
 3. Verify java version again

References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.