Commit c05803f
committed
[OPENJDK-3652] don't try to set alternatives for JDK
The exact invocation has changed for RHEL10. This no longer works:
alternatives --set java java-21-openjdk.${_arch}
This works, but doesn't in earlier RHELs:
alternatives --set java /usr/lib/jvm/java-21-openjdk/bin/java
Some background in RHEL-68848
However, there is only one JDK in RHEL10 at the moment anyway, so
simply avoid adjusting alternatives.
Signed-off-by: Jonathan Dowland <[email protected]>1 parent 7b635be commit c05803f
1 file changed
+0
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 16 | | |
24 | 17 | | |
25 | 18 | | |
| |||
0 commit comments