#1605 add warning for java versions greater than 9
This commit is contained in:
parent
cdb85d5974
commit
8798275b40
3
refine
3
refine
@ -842,6 +842,9 @@ checkJavaMajorVersion() {
|
|||||||
if (( ${major} < 7 )); then
|
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."
|
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
|
fi
|
||||||
|
if (( ${major} > 9 )); then
|
||||||
|
echo "WARNING: OpenRefine is not tested and not recommended for use with Java versions greater than 9."
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# -------------------------- script -----------------------------
|
# -------------------------- script -----------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user