Skip to content

Commit 0a78b7c

Browse files
committed
dist/bin/common: Stop enforcing Java 8 only
1 parent 5284c8a commit 0a78b7c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dist/bin/common

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ if [ ! -x "$JAVACMD" ] ; then
6161
exit 1
6262
fi
6363

64-
# parses 1.7, 1.8, 9, etc out of java version "1.8.0_91"
65-
JAVA_VERSION=$("$JAVACMD" -version 2>&1 | grep ' version "' | tr '\r' '\n' | sed 's/.*version "\([0-9]*\)\(\.[0-9]*\)\{0,1\}\(.*\)*"/\1\2/; 1q')
66-
67-
if [ "$JAVA_VERSION" != "1.8" ] ; then
68-
echo "Error: Java 8 is required, actual $JAVA_VERSION"
69-
exit 1
70-
fi
71-
7264
if [ -z "$JAVA_HOME" ] ; then
7365
echo "Warning: JAVA_HOME environment variable is not set."
7466
fi

0 commit comments

Comments
 (0)