1. 程式人生 > >java命令列小例子

java命令列小例子

set ENV=DEV
set REGION=SZ
set PILOT_ROOT=D:\d\run\pilotroot
set JAVA_HOME="C:/Program Files (x86)/Java/jdk1.8.0_25"
::set SysOutLogger.level=Debug


cd %JAVA_HOME%/bin
java -Xmx256M  -DSysOutLogger.level=Debug -DPILOT_REGION=SZ -DPILOT_DEVELOPER=sz -DDEV_SZ_QPidLoginCredentials.user=pisces -DDEV_SZ_QPidLoginCredentials.password=pisces -cp "config\service\HolidayLoader;%PILOT_ROOT%\RDS_LOADER\lib\*;%PILOT_ROOT%\RDS_LOADER\lib\dll" com.pingan.pilot.service.api.PilotProcessStarter %PILOT_ROOT%\RDS_LOADER\config/service/HolidayLoader/run.prop

::>log_HolidayLoader.txt

%PILOT_ROOT%\RDS_LOADER\lib\*代表一堆jar

%PILOT_ROOT%\RDS_LOADER\lib\dll目錄下有很多dll用於jni呼叫