[66] | 1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide - Installation</title><meta value="Craig R. McClanahan" name="author"><meta value="craigmcc@apache.org" name="email"><meta value="Yoav Shapira" name="author"><meta value="yoavs@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt=" |
---|
| 2 | The Apache Tomcat Servlet/JSP Container |
---|
| 3 | " align="right" src="../../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Application Developer's Guide</h1><h2>Installation</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="../../images/void.gif"></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 4 | |
---|
| 5 | <p>In order to use Tomcat 6 for developing web applications, you must first |
---|
| 6 | install it (and the software it depends on). The required steps are outlined |
---|
| 7 | in the following subsections.</p> |
---|
| 8 | |
---|
| 9 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="JDK"><strong>JDK</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 10 | |
---|
| 11 | <p>Tomcat 6.0 was designed to run on J2SE 5.0. |
---|
| 12 | </p> |
---|
| 13 | |
---|
| 14 | <p>Compatible JDKs for many platforms (or links to where they can be found) |
---|
| 15 | are available at |
---|
| 16 | <a href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a>.</p> |
---|
| 17 | |
---|
| 18 | </blockquote></td></tr></table> |
---|
| 19 | |
---|
| 20 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Tomcat"><strong>Tomcat</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 21 | |
---|
| 22 | <p>Binary downloads of the <strong>Tomcat</strong> server are available from |
---|
| 23 | <a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a>. |
---|
| 24 | This manual assumes you are using the most recent release |
---|
| 25 | of Tomcat 6. Detailed instructions for downloading and installing |
---|
| 26 | Tomcat 6 are available <a href="../../setup.html">here</a>.</p> |
---|
| 27 | |
---|
| 28 | <p>In the remainder of this manual, example shell scripts assume that you have |
---|
| 29 | set an environment variable <code>CATALINA_HOME</code> that contains the |
---|
| 30 | pathname to the directory in which Tomcat 6 has been installed. Optionally, if |
---|
| 31 | Tomcat has been configured for multiple instances, each instance will have its |
---|
| 32 | own <code>CATALINA_BASE</code> configured.</p> |
---|
| 33 | |
---|
| 34 | </blockquote></td></tr></table> |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Ant"><strong>Ant</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 38 | |
---|
| 39 | <p>Binary downloads of the <strong>Ant</strong> build tool are available from |
---|
| 40 | <a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>. |
---|
| 41 | This manual assumes you are using Ant 1.4 or later. The instructions should |
---|
| 42 | also be compatible with later versions, but this has not been tested.</p> |
---|
| 43 | |
---|
| 44 | <p>Download and install Ant from the distribution directory mentioned above. |
---|
| 45 | Then, add the <code>bin</code> directory of the Ant distribution to your |
---|
| 46 | <code>PATH</code> environment variable, following the standard practices for |
---|
| 47 | your operating system platform. Once you have done this, you will be able to |
---|
| 48 | execute the <code>ant</code> shell command directly.</p> |
---|
| 49 | |
---|
| 50 | </blockquote></td></tr></table> |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="CVS"><strong>CVS</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 54 | |
---|
| 55 | <p>Besides the required tools described above, you are strongly encouraged |
---|
| 56 | to download and install a <em>source code control</em> system, such as the |
---|
| 57 | <strong>Concurrent Version System</strong> (CVS), to maintain historical |
---|
| 58 | versions of the source files that make up your web application. Besides |
---|
| 59 | the server, you will also need appropriate client |
---|
| 60 | tools to check out source code files, and check in modified versions.</p> |
---|
| 61 | |
---|
| 62 | <p>Detailed instructions for installing and using source code control |
---|
| 63 | applications is beyond the scope of this manual. However, CVS server and |
---|
| 64 | client tools for many platforms (along with documentation) can be downloaded |
---|
| 65 | from <a href="http://www.cvshome.org">http://www.cvshome.org</a>.</p> |
---|
| 66 | |
---|
| 67 | </blockquote></td></tr></table> |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em> |
---|
| 71 | Copyright © 1999-2008, Apache Software Foundation |
---|
| 72 | </em></font></div></td></tr></table></body></html> |
---|