@@ -34,7 +34,7 @@ set APP_HOME=%DIRNAME%
3434for %%i in (" %APP_HOME% " ) do set APP_HOME = %%~fi
3535
3636@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37- set DEFAULT_JVM_OPTS = -Dfile.encoding=UTF-8 " -Xmx64m" " -Xms64m"
37+ set DEFAULT_JVM_OPTS = " -Xmx64m" " -Xms64m"
3838
3939@ rem Find java.exe
4040if defined JAVA_HOME goto findJavaFromJavaHome
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343%JAVA_EXE% -version > NUL 2 >& 1
4444if %ERRORLEVEL% equ 0 goto execute
4545
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.
5151
5252goto fail
5353
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757
5858if exist " %JAVA_EXE% " goto execute
5959
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.
6565
6666goto fail
6767
0 commit comments