2. 打开一个Dos窗口,将 D:\ MyInstalltion \ apache-tomcat-6.0.20 \ bin 找到 startup.bat 文件 拖到 Dos 窗口中, 然后 Enter 键 。
如果出现如下的提示 : C:\DocumentsMicrosoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\songyanjun>D:\MyInstalltion\apache-tomcat-6.0.20 \ bin\startup.bat
The tomcat.exe was not found...
The CATALINA_HOME environment variable is not defined correctly .
This environment variable is needed to run this program
C:\Users\songyanjun>
那就需要在环境变量那里配置一下 CATALINA_HOME , 值为:Tomcat 根路径:D:\ MyInstalltion \ apache-tomcat-6.0.20 \,配置好之后
3. 重新开启一个Dos窗口,在进行如下操作 ! 如果出现如下提示:
C:\DocumentsMicrosoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。