diff options
author | PJ Fanning <fanningpj@apache.org> | 2024-08-16 12:08:48 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2024-08-16 12:08:48 +0000 |
commit | 1ba795451e2c8e1d42a0199285f32353e7c86c95 (patch) | |
tree | 58762e3ae1a1bbe75e1fb0ccf06b28df6c6b4e94 /gradlew.bat | |
parent | b0c67177ffbaf0faa7361dea4e49a90ed055b23f (diff) | |
download | poi-1ba795451e2c8e1d42a0199285f32353e7c86c95.tar.gz poi-1ba795451e2c8e1d42a0199285f32353e7c86c95.zip |
gradle 8.10
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919930 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gradlew.bat')
-rw-r--r-- | gradlew.bat | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gradlew.bat b/gradlew.bat index 6689b85bee..9b42019c79 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
+@rem SPDX-License-Identifier: Apache-2.0
+@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
goto fail
@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
goto fail
|