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 d55145b commit 897a419Copy full SHA for 897a419
modules/jlink/artifacts/opt/jboss/container/java/jlink/preflight.sh
@@ -4,9 +4,11 @@ jlink_preflight_check()
4
if [ "$JAVA_VERSION" -lt 11 ]; then
5
echo "Jlink integration not available for JDK${JAVA_VERSION}!"
6
echo "Jlink integration is only supported for JDK versions 11 and newer."
7
+ exit 1
8
fi
9
if [ ! -d /usr/lib/jvm/java/jmods ]; then
10
echo "Jlink integration requires the jmods RPM to be installed in the builder image, e.g."
11
echo " microdnf install -y java-${JAVA_VERSION}-openjdk-jmods"
12
13
14
}
0 commit comments