Tomcat配置 设置启动参数,点击startup.bat启动

catalina.bat
rem ---------------------------------------------------------------------------
rem Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settings
rem are valid and consistent with the selected start-up options and set up the
rem endorsed directory.
rem
rem $Id: setclasspath.bat 1202062 2011-11-15 06:50:02Z mturk $
rem ---------------------------------------------------------------------------

set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_10
set JRE_HOME=C:\Program Files (x86)\Java\jdk1.6.0_10\jre

rem Make sure prerequisite environment variables are set

rem In debug mode we need a real JDK (JAVA_HOME)
if ""%1"" == ""debug"" goto needJavaHome

posted @ 2013-09-25 10:11  大新博客  阅读(1809)  评论(0编辑  收藏  举报