-
Bug
-
Resolution: Won't Do
-
Major
-
3.4.0.GA
-
None
-
False
-
None
-
False
-
-
Description of problem:
default alternatives for java and python seem wrong when running a sample project like quarkus-quickstarts in 3.4:
$ alternatives --list libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so java auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/jre/bin/java java_sdk_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64 java_sdk_1.8.0_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64 java_sdk_11 auto /usr/lib/jvm/java-11-openjdk-11.0.17.0.8-2.el8_6.x86_64 java_sdk_11_openjdk auto /usr/lib/jvm/java-11-openjdk-11.0.17.0.8-2.el8_6.x86_64 java_sdk_17 auto /usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.el8_6.x86_64 java_sdk_17_openjdk auto /usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.el8_6.x86_64 java_sdk_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64 javac auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/bin/javac jre_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/jre jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64 jre_11 auto /usr/lib/jvm/java-11-openjdk-11.0.17.0.8-2.el8_6.x86_64 jre_11_openjdk auto /usr/lib/jvm/jre-11-openjdk-11.0.17.0.8-2.el8_6.x86_64 jre_17 auto /usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.el8_6.x86_64 jre_17_openjdk auto /usr/lib/jvm/jre-17-openjdk-17.0.5.0.8-2.el8_6.x86_64 jre_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/jre ld auto /usr/bin/ld.bfd modules.sh auto /usr/share/Modules/init/profile.sh mvn auto /usr/share/maven/bin/mvn python auto /usr/libexec/no-python python3 auto /usr/bin/python3.6
but:
$ /usr/local/bin/python --version
Python 3.9.13
$ $JAVA_HOME/bin/java --version
openjdk 11.0.17 2022-10-18 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS, mixed mode, sharing)
So... likely want to update alternatives to match up to what we expect as defaults