From debb0740d34e784ae88f9ff9f349c786e11bdf02 Mon Sep 17 00:00:00 2001 From: miozune Date: Mon, 4 Dec 2023 08:18:02 +0900 Subject: Migrate to new RecipeMap (#24) Requires https://github.com/GTNewHorizons/GT5-Unofficial/pull/2345 --------- Co-authored-by: Martin Robertz --- gradlew | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gradlew') diff --git a/gradlew b/gradlew index aeb74cbb43..fcb6fca147 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