Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed Jan 9, 2024
1 parent 494120e commit f3a8090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function check_java_version() {
JVM_VERSION=$(echo "$jvmver"|sed -e 's|^1\.\([0-9][0-9]*\)\..*$|\1|')
fi

if [ "$JVM_VERSION" -lt 8 ] || { [ "$JVM_VERSION" -eq 8 ] && [ "${jvmver#*_}" -lt 151 ]; } ; then
if [ "$JVM_VERSION" -lt 8 ]; then
echo "Gravitino requires either Java 8 or newer"
exit 1
fi
Expand Down

0 comments on commit f3a8090

Please sign in to comment.