Update gradle for AWS sample

This commit is contained in:
Oleg Zhurakousky
2023-09-15 17:52:16 +02:00
parent e327d6ef2a
commit 0054912ccd
4 changed files with 77 additions and 42 deletions

View File

@@ -130,10 +130,13 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.