mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
fix as.bat set JAVACMD error (#1489)
This commit is contained in:
parent
4f24f82ccb
commit
ab2d8320ac
@ -97,8 +97,6 @@ echo NB: JAVA_HOME should point to a JDK not a JRE.
|
|||||||
goto exit_bat
|
goto exit_bat
|
||||||
|
|
||||||
:okJava
|
: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%"
|
%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 %ERRORLEVEL% NEQ 0 goto exit_bat
|
||||||
if %exitProcess%==1 goto exit_bat
|
if %exitProcess%==1 goto exit_bat
|
||||||
|
Loading…
Reference in New Issue
Block a user