Why updating OpenJDK resets link to java 8 ?

Solution In Progress - Updated -

Issue

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

Environment

  • Red Hat Enterprise Linux 8
  • java-11-openjdk-11.0.15.0.9-2
  • java-1.8.0-openjdk-1.8.0.332.b09-2

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