]> nmode's Git Repositories - signal-cli/blobdiff - gradlew.bat
Only retry messages after identity was trusted
[signal-cli] / gradlew.bat
index 6689b85beecde676054c39c2408085f41e6be6dc..7101f8e4676fcad8adc961e929ea3bcb37b5262f 100644 (file)
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
 %JAVA_EXE% -version >NUL 2>&1\r
 if %ERRORLEVEL% equ 0 goto execute\r
 \r
 %JAVA_EXE% -version >NUL 2>&1\r
 if %ERRORLEVEL% equ 0 goto execute\r
 \r
-echo.\r
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\r
-echo.\r
-echo Please set the JAVA_HOME variable in your environment to match the\r
-echo location of your Java installation.\r
+echo. 1>&2\r
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2\r
+echo. 1>&2\r
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2\r
+echo location of your Java installation. 1>&2\r
 \r
 goto fail\r
 \r
 \r
 goto fail\r
 \r
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
 \r
 if exist "%JAVA_EXE%" goto execute\r
 \r
 \r
 if exist "%JAVA_EXE%" goto execute\r
 \r
-echo.\r
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\r
-echo.\r
-echo Please set the JAVA_HOME variable in your environment to match the\r
-echo location of your Java installation.\r
+echo. 1>&2\r
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2\r
+echo. 1>&2\r
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2\r
+echo location of your Java installation. 1>&2\r
 \r
 goto fail\r
 \r
 \r
 goto fail\r
 \r