我的TOMCAT启动怎么一晃而过啊?什么提示也没有。

xiejava1018 2003-03-29 03:31:49
还有什么东西要配置吗?
...全文
8 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
foolbirds 2003-03-29
没有设置java_home
右击“我的电脑”-->高级-->环境配置-->添加一个环境变量
name:java_home
内容:c:\jdk1.3.1\bin(填写你的jdk路径)
回复
cao_elsie 2003-03-29
(0) Download and Install a Java Development Kit

* Download a Java Development Kit (JDK) release (version 1.2 or later) from:

http://java.sun.com/j2se/

* Install the JDK according to the instructions included with the release.

* Set an environment variable JAVA_HOME to the pathname of the directory
into which you installed the JDK release.


(1) Download and Install the Tomcat 4.0 Binary Distribution

NOTE: As an alternative to downloading a binary distribution, you can create
your own from the Tomcat source repository, as described in "BUILDING.txt".
If you do this, the value to use for "${catalina.home}" will be the "dist"
subdirectory of your source distribution.

* Download a binary distribution of Tomcat from:

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/

On a Windows platform, you will need:
jakarta-tomcat-4.0-YYYYMMDD.zip

On a Unix platform, you will need:
jakarta-tomcat-4.0-YYYYMMDD.zip

* Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
"jakarta-tomcat-4.0"). For the purposes of the remainder of this document,
the symbolic name "${catalina.home}" is used to refer to the full
pathname of the release directory.


(2) Start Up Tomcat 4.0

There are two techniques by which Tomcat 4.0 can be started:

* Via an environment variable:
- Set an environment variable CATALINA_HOME to the path of the directory
into which you have installed Tomcat 4.0.
- Execute the shell command:

%CATALINA_HOME%\bin\startup (Windows)

$CATALINA_HOME/bin/startup.sh (Unix)

* By modifying your current working directory:
- Execute the following shell commands:

cd %CATALINA_HOME%\bin (Windows)
startup (Windows)

cd $CATALINA_HOME/bin (Unix)
./startup.sh (Unix)

回复
pauluo 2003-03-29
配置tomcat_home
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2003-03-29 03:31
社区公告
暂无公告