Skip to content

Commit

Permalink
fix as.bat set JAVACMD error (alibaba#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jufeng98 authored Sep 11, 2020
1 parent 4f24f82 commit ab2d832
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/as.bat
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ echo NB: JAVA_HOME should point to a JDK not a JRE.
goto exit_bat

:okJava
set JAVACMD="%JAVA_HOME%"\bin\java

%JAVACMD% -Dfile.encoding=UTF-8 %BOOT_CLASSPATH% -jar "%CORE_JAR%" -pid "%PID%" -target-ip 127.0.0.1 -telnet-port %TELNET_PORT% -http-port %HTTP_PORT% -core "%CORE_JAR%" -agent "%AGENT_JAR%"
if %ERRORLEVEL% NEQ 0 goto exit_bat
if %exitProcess%==1 goto exit_bat
Expand Down

0 comments on commit ab2d832

Please sign in to comment.