From c577f24026ec07f52ab962b49c25eeed5f14a126 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 1 Jun 2023 13:41:20 +0530 Subject: fix(gradle): upgrade to 8.2-rc-1 --- gradlew | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gradlew') diff --git a/gradlew b/gradlew index aeb74cbb..fcb6fca1 100755 --- a/gradlew +++ b/gradlew @@ -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. -- cgit v1.2.3