File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
43
43
%JAVA_EXE% -version > NUL 2 >& 1
44
44
if %ERRORLEVEL% equ 0 goto execute
45
45
46
- echo . 1 >& 2
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1 >& 2
48
- echo . 1 >& 2
49
- echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
50
- echo location of your Java installation. 1 >& 2
46
+ echo .
47
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
+ echo .
49
+ echo Please set the JAVA_HOME variable in your environment to match the
50
+ echo location of your Java installation.
51
51
52
52
goto fail
53
53
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
57
58
58
if exist " %JAVA_EXE% " goto execute
59
59
60
- echo . 1 >& 2
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1 >& 2
62
- echo . 1 >& 2
63
- echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
64
- echo location of your Java installation. 1 >& 2
60
+ echo .
61
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
+ echo .
63
+ echo Please set the JAVA_HOME variable in your environment to match the
64
+ echo location of your Java installation.
65
65
66
66
goto fail
67
67
You can’t perform that action at this time.
0 commit comments