update Mac launcher to require at least SE 8

master
melvinzhang 2018-01-14 08:26:13 +08:00
parent 536bebafe9
commit 8f1c8a3cb3
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@
APPNAME="Magarena"
# java version check
REQUIRED_VERSION=[7-9].[0-9]
REQUIRED_VERSION=[8-9].[0-9]
VERSION_TITLE="Cannot launch $APPNAME"
VERSION_MSG="$APPNAME requires the Java SE 7 JDK or later."
VERSION_MSG="$APPNAME requires the Java SE 8 JDK or later."
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
JAVA_VERSION="$(java -version 2>&1 | grep $REQUIRED_VERSION)"