diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-01 13:41:20 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-01 13:41:20 +0530 |
commit | c577f24026ec07f52ab962b49c25eeed5f14a126 (patch) | |
tree | 4423c9eb29b75122d090713288c67950c614ff32 /gradlew | |
parent | b9410a0f312be62b66e13de327807d82f74304bd (diff) |
fix(gradle): upgrade to 8.2-rc-1
Diffstat (limited to 'gradlew')
-rwxr-xr-x | gradlew | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. |