Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2768654
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类:

2010-01-07 09:28:57

1:在windows下手动运行tomcat时会有一个dos窗口弹出。
我的tomcat放在了d盘下,到D:\apache-tomcat-6.0.20\bin下,双击startup.bat此时会有一个dos窗口弹出 ,如图:
 
想通过设置使得这个窗口在tomcat手动运行时不弹出
方法:
摘之书上:

you can still run Tomcat without a command prompt/DOS prompt window open while

Tomcat is running by modifying the catalina.bat file in %CATALINA_HOME%\bin. replace the

following text:

%_RUNJAVA%

with this:

%_RUNJAVAW%

即可。 我测试过,是可以的。进行完上面的设置后,tomcat手动运行时dos窗口就不弹出(其实它是弹出一下,立刻就消失了)。

阅读(2778) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~