Updating java breaks changes java alternative

Solution Verified - Updated -

Issue

  • Despite the java alternative being set to manual, the following changes the java alternative:
# java -version
openjdk version "17.0.10" 2024-01-16 LTS

# dnf update --assumeyes
...
java-11-openjdk-headless                   x86_64                   1:11.0.22.0.7-2.el9                    rhel-9-for-x86_64-appstream-

# java -version
openjdk version "11.0.20" 2023-07-18 LTS

Environment

  • RHEL 9

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