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

xiejava1018
人工智能领域优质创作者
2003-03-29 03:31:49
还有什么东西要配置吗?
...全文
33 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
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

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧