Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed Jan 9, 2024
1 parent f3a8090 commit df65c4f
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 @@ -63,7 +63,7 @@ function check_java_version() {

# JDK 8u151 version fixed a number of security vulnerabilities and issues to improve system stability and security.
# https://www.oracle.com/java/technologies/javase/8u151-relnotes.html
if [ "$JVM_VERSION" -lt 8 ] || { [ "$JVM_VERSION" -eq 8 ] && [ "${jvmver#*_}" -lt 151 ]; } ; then
if [[ "$JVM_VERSION" -eq 8 && "${jvmver#*_}" -lt 151 ]] ; then
echo "[WARNING] Gravitino highly recommends using either Java 8 update 151 or newer"
fi
}
Expand Down

0 comments on commit df65c4f

Please sign in to comment.