JAVA开启远程调试

@echo off
if EXIST tableRecover.bat (
    call tableRecover.bat
    del /F tableRecover.bat
)
SET CLSNAME=com.hundsun.tpm.main.ServerStart
SetLocal EnableDelayedExpansion
FOR %%i IN ("..\lib\*.jar") DO SET CLSPATH=!CLSPATH!;%%i
SET CLSPATH=.;..\config\properties!CLSPATH!
..\..\jre\windows\bin\java.exe -Xms256m -Xmx1024m -Xmn64m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs/heap_dump.bin -XX:PermSize=64m -XX:MaxPermSize=128m -cp %CLSPATH%; %CLSNAME%
EndLocal
exit



你可能感兴趣的:(java)