My Oracle Support Banner

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

Last updated on OCTOBER 20, 2021

Applies to:

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


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- 

Required version is - java-1.7.0-openjdk-



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
 1. Verify current version of Java used by OL
 2. Switch to older version of java
 3. Verify java version again


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