Updating java breaks changes java alternative
Issue
- Despite the
java
alternative being set tomanual
, 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.