Why updating OpenJDK resets link to java 8 ?

Solution In Progress - Updated -


  • Upgrading the java-X-openjdk RPMs resets alternatives to java 8
  • dnf upgrade breaks java link and makes java 8 default


  • Red Hat Enterprise Linux 8
  • java-11-openjdk-
  • java-1.8.0-openjdk-

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