diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-08-04 20:12:31 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-08-04 20:20:46 +0530 |
commit | 82bcac55fbc1d4554b642e8ff0d1ff1a5182626d (patch) | |
tree | 5a9410c076ba5043a9ef0efc9776b153f4145a1d /gradlew | |
parent | 04e503c9dbd14210a3cd2eeb395d4e9421d6770d (diff) |
gradle: upgrade to 8.2.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
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. |