|JDK Tomcat Ant CVS|
Tomcat will operate under any Java Development Kit (JDK) environment that provides a JDK 1.1, JDK 1.2 (also known as Java2 Standard Edition, or J2SE) or later platform. You will need a Java Development Kit, as opposed to a Java Runtime Environment, so that your servlets, other classes, and JSP pages can be compiled.
Compatible JDKs for many platforms (or links to where they can be found) are available at http://java.sun.com/j2se/.
Binary downloads of the Tomcat server are available from the http://jakarta.apache.org/downloads/binindex.html page. This manual assumes you are using the most recent milestone, beta, or release of Tomcat 3.1 -- many of the deployment details have changed since Tomcat 3.0 was released, although the general concepts are very similar.
The shell command line examples in this manual assume that you have set up your environment as follows:
JAVA_HOMEenvironment variable points at the base directory where you have installed the JDK (for example,
PATHenvironment variable, so that the
javacommand is recognized and executed.
TOMCAT_HOMEenvironment variable points at the base directory where you have installed Tomcat (for example,
Normally, any changes required to the
variable are handled for you by the development scripts. However, if you
are defining your own scripts, you may need to add file
$JAVA_HOME/lib/tools.jar to your
Although Tomcat includes a binary distribution of the Ant development tool, it does not include the Ant developer documentation. This can be acquired by downloading the complete Ant release from http://jakarta.apache.org/downloads/binindex.html page. The example application build scripts assume that you have Ant 1.2 or later.
Besides the required tools described above, you are strongly encouraged to download and install a source code control system, such as CVS, to maintain historical versions of the source files that make up your web application. Besides the server, you will also need appropriate client tools to check out source code files, and check in modified versions.
Detailed instructions for installing and using source code control applications is beyond the scope of this manual. However, CVS server and client tools for many platforms (along with documentation) can be downloaded from http://www.cvshome.org.