add warning for java versions greater than 9
@@ -842,6 +842,9 @@ checkJavaMajorVersion() {
if (( ${major} < 7 )); then
error "OpenRefine requires Java version 7 or later. If you have multiple versions of Java installed, please set the environment variable JAVA_HOME to the correct version."
fi
+ if (( ${major} > 9 )); then
+ echo "WARNING: OpenRefine is not tested and not recommended for use with Java versions greater than 9."
+ fi
}
# -------------------------- script -----------------------------
