Skip to content

Commit 35c2c12

Browse files
committed
Correct error message after JDK11 support was added.
1 parent da5d97d commit 35c2c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

imagetool/src/main/bin/imagetool.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -e
1313
# JDK 8 or higher JVM (and that it isn't OpenJDK).
1414
#
1515
if [ -z "${JAVA_HOME}" ]; then
16-
echo "Please set the JAVA_HOME environment variable to match the location of your Java 8 installation." >&2
16+
echo "Please set the JAVA_HOME environment variable to match the location of your Java installation. Java 8 or newer is required." >&2
1717
exit -1
1818
elif [ ! -d "${JAVA_HOME}" ]; then
1919
echo "Your JAVA_HOME environment variable points to a non-existent directory: ${JAVA_HOME}" >&2

imagetool/src/main/bin/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ umask 27
1010
# JDK 8 or higher JVM (and that it isn't OpenJDK).
1111
#
1212
if [ -z "${JAVA_HOME}" ]; then
13-
echo "Please set the JAVA_HOME environment variable to match the location of your Java 8 installation." >&2
13+
echo "Please set the JAVA_HOME environment variable to match the location of your Java installation. Java 8 or newer is required." >&2
1414
return
1515
elif [ ! -d "${JAVA_HOME}" ]; then
1616
echo "Your JAVA_HOME environment variable points to a non-existent directory: ${JAVA_HOME}" >&2

0 commit comments

Comments
 (0)