diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2023-07-04 11:31:09 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2023-07-05 15:59:53 +0200 |
commit | 4ecf3969807f19363340457e2b4c5a3fe4e6fcd4 (patch) | |
tree | ec449ed5a351d1d8d1572bd9ba8ddc552f53d62e /gradlew | |
parent | Upgrade Spring to 3.1.1 (diff) | |
download | seven-wonders-4ecf3969807f19363340457e2b4c5a3fe4e6fcd4.tar.gz seven-wonders-4ecf3969807f19363340457e2b4c5a3fe4e6fcd4.tar.bz2 seven-wonders-4ecf3969807f19363340457e2b4c5a3fe4e6fcd4.zip |
Upgrade Gradle wrapper to 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. |