* 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.
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)