diff options
| author | 2023-07-05 19:47:49 +0100 | |
|---|---|---|
| committer | 2023-07-05 19:47:49 +0100 | |
| commit | 83fc4031afd288a33d583b0e2a675dd0bd5e36bb (patch) | |
| tree | 19a005f575ce87620a5f1802cd1e518dca07c016 /gradlew | |
| parent | 1.20.1 (diff) | |
Update to Loom 1.3 and Gradle 8.2
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. |
