We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b8d70 commit 85953ffCopy full SHA for 85953ff
modules/singleton-jdk/configure.sh
@@ -16,4 +16,7 @@ fi
16
rpm -e --nodeps $(rpm -qa java-* | grep -v "^java-${JAVA_VERSION}-${JAVA_VENDOR}")
17
18
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2089626
19
-alternatives --set java "java-${JAVA_VERSION}-${JAVA_VENDOR}.$(uname -m)"
+_arch="$(uname -m)"
20
+for alt in java javac java_sdk_openjdk jre_openjdk; do
21
+ alternatives --set "$alt" "$java-${JAVA_VERSION}-${JAVA_VENDOR}.${_arch}"
22
+done
0 commit comments