/etc/alternatives/java changed from java-11-openjdk to java-1.8.0-openjdk after updates

Solution Verified - Updated -

Issue

  • On RHEL 8 systems with both java-11-openjdk and java-1.8.0-openjdk installed, where the alternatives java is set to java-11-openjdk path, the /etc/alternatives/java changed from java-11-openjdk to java-1.8.0-openjdk after applying java-11-openjdk updates.

Environment

  • Red Hat Enterprise Linux 8
  • java-11-openjdk
  • java-1.8.0-openjdk
  • Using alternatives to set path of java binaries

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content