mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
CORPRIV-659: Better validation for JAVA_HOME.
This commit is contained in:
parent
22d2244ce7
commit
02a9e32d3c
@ -2,7 +2,7 @@
|
||||
|
||||
DIRNAME=$(dirname $0)
|
||||
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
if [ -z "$JAVA_HOME" -o ! -x $JAVA_HOME/bin/java ]; then
|
||||
echo "Please set JAVA_HOME correctly"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user