Posted on 2012-07-31 10:49
小胡子 阅读(258)
评论(0) 编辑 收藏 所属分类:
Web 服务器
修改
apache-tomcat-6.0.33\bin\catalina.bat 文件
@echo off
if "%OS% " == "Windows_NT " setlocal
rem ---------------------------------------------------------------------------
rem Start script for the CATALINA Server
rem
rem $Id: startup.bat,v 1.4 2002/08/04 18:19:43 patrickl Exp $
rem ---------------------------------------------------------------------------
set JAVA_HOME=c:\jdk set CATALINA_HOME=c:\apache-tomcat-6.0.33 rem Guess CATALINA_HOME if not defined
if not "%CATALINA_HOME% " == " " goto gotHome
JAVA_HOME=c:\jdk
set CATALINA_HOME=c:\apache-tomcat-6.0.33 中
c:\jdk 是你jdk工具包的目录,
c:\apache-tomcat-6.0.33 是tomcat 安装目录