编辑 bin目录下的启动脚本:
rem We use the value of the JAVA_OPTS environment variable if defined, rather than the config.
set _JAVA_OPTS=%JAVA_OPTS%
if "%_JAVA_OPTS%"=="" set _JAVA_OPTS=%CFG_OPTS%
set _JAVA_OPTS="-Dhttp.port=80" //这里设置参数
echo %JAVA_OPTS%
:run