问题描述
- web服务器启动问题 请大神解答,看不懂代码帮忙备注下,而且什么会弹出cmd,并发布应用
-
set MainPath=com.cs.Server:start
if not "%JAVA_HOME%" == "" goto gotJava_home
set JAVA_HOME=D:jdk1.7.0_67
:gotJava_homeset MEM_ARGS=-Xms128m -Xmx512m
set JAVA_OPTIONS=-Duser.timezone=Asia/Shanghai
set CLASSPATH=.bin;%JAVA_HOME%jrelibrt.jarsetlocal enabledelayedexpansion
for %%j in (.lib*.jar) do (
set CLASSPATH=!CLASSPATH!;%%j)
@echo on
set JAVA_HOME=D:jdk1.7.0_67
"%JAVA_HOME%binjava" %MEM_ARGS% %JAVA_OPTIONS% %MainPath%
时间: 2024-12-27 07:16:34