Skip to content

Commit e2b8d70

Browse files
committed
Add a workaround for BZ 2089626
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 0a41ced commit e2b8d70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/singleton-jdk/configure.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ fi
1414
# Clean up any java-* packages that have been installed that do not match
1515
# our stated JAVA_VERSION-JAVA_VENDOR (e.g.: 11-openjdk; 1.8.0-openj9)
1616
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)"

0 commit comments

Comments
 (0)