We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61213f2 commit 5c37fe3Copy full SHA for 5c37fe3
lumi/jenkins_java.sh
@@ -2,5 +2,5 @@
2
3
JENKINS_JAR=$1
4
JAVA_CMD="/etc/alternatives/jre_17/bin/java"
5
-[ -e /etc/alternatives/jre_17/bin/java ] && JAVA_CMD="/etc/alternatives/jre_17/bin/java"
+[ -e /etc/alternatives/jre_21/bin/java ] && JAVA_CMD="/etc/alternatives/jre_21/bin/java"
6
$JAVA_CMD --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -jar ${JENKINS_JAR} -jar-cache $(dirname ${JENKINS_JAR})/tmp
0 commit comments