Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | <!DOCTYPE html SYSTEM "about:legacy-compat"> |
| 2 | <html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="../images/docs-stylesheet.css" rel="stylesheet" type="text/css"><title>Application Developer's Guide (9.0.112) - Installation</title></head><body><div id="wrapper"><header><div id="header"><div><div><div class="logo noPrint"><a href="https://tomcat.apache.org/"><img alt="Tomcat Home" src="../images/tomcat.png"></a></div><div style="height: 1px;"></div><div class="asfLogo noPrint"><a href="https://www.apache.org/" target="_blank"><img src="../images/asf-logo.svg" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"></a></div><h1>Application Developer's Guide</h1><div class="versionInfo"> |
||
| 3 | Version 9.0.112, |
||
| 4 | <time datetime="2025-11-06">Nov 6 2025</time></div><div style="height: 1px;"></div><div style="clear: left;"></div></div></div></div></header><div id="middle"><div><div id="mainLeft" class="noprint"><div><nav><div><h2>Links</h2><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">App Dev Guide Home</a></li><li><a href="https://cwiki.apache.org/confluence/display/TOMCAT/FAQ">FAQ</a></li><li><a href="#comments_section">User Comments</a></li></ul></div><div><h2>Contents</h2><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></div></nav></div></div><div id="mainRight"><div id="content"><h2>Installation</h2><h3 id="Installation">Installation</h3><div class="text"> |
||
| 5 | |||
| 6 | <p>In order to use Tomcat for developing web applications, you must first |
||
| 7 | install it (and the software it depends on). The required steps are outlined |
||
| 8 | in the following subsections.</p> |
||
| 9 | |||
| 10 | <div class="subsection"><h4 id="JDK">JDK</h4><div class="text"> |
||
| 11 | |||
| 12 | <p>Tomcat 9.0 was designed to run on Java SE 8 or later. |
||
| 13 | </p> |
||
| 14 | |||
| 15 | <p>Compatible JDKs for many platforms (or links to where they can be found) |
||
| 16 | are available at |
||
| 17 | <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a>.</p> |
||
| 18 | |||
| 19 | </div></div> |
||
| 20 | |||
| 21 | <div class="subsection"><h4 id="Tomcat">Tomcat</h4><div class="text"> |
||
| 22 | |||
| 23 | <p>Binary downloads of the <strong>Tomcat</strong> server are available from |
||
| 24 | <a href="https://tomcat.apache.org/">https://tomcat.apache.org/</a>. |
||
| 25 | This manual assumes you are using the most recent release |
||
| 26 | of Tomcat 9. Detailed instructions for downloading and installing |
||
| 27 | Tomcat are available <a href="../setup.html">here</a>.</p> |
||
| 28 | |||
| 29 | <p>In the remainder of this manual, example shell scripts assume that you have |
||
| 30 | set an environment variable <code>CATALINA_HOME</code> that contains the |
||
| 31 | pathname to the directory in which Tomcat has been installed. Optionally, if |
||
| 32 | Tomcat has been configured for multiple instances, each instance will have its |
||
| 33 | own <code>CATALINA_BASE</code> configured.</p> |
||
| 34 | |||
| 35 | </div></div> |
||
| 36 | |||
| 37 | |||
| 38 | <div class="subsection"><h4 id="Ant">Ant</h4><div class="text"> |
||
| 39 | |||
| 40 | <p>Binary downloads of the <strong>Ant</strong> build tool are available from |
||
| 41 | <a href="https://ant.apache.org/">https://ant.apache.org/</a>. |
||
| 42 | This manual assumes you are using Ant 1.8 or later. The instructions may |
||
| 43 | also be compatible with other versions, but this has not been tested.</p> |
||
| 44 | |||
| 45 | <p>Download and install Ant. |
||
| 46 | Then, add the <code>bin</code> directory of the Ant distribution to your |
||
| 47 | <code>PATH</code> environment variable, following the standard practices for |
||
| 48 | your operating system platform. Once you have done this, you will be able to |
||
| 49 | execute the <code>ant</code> shell command directly.</p> |
||
| 50 | |||
| 51 | </div></div> |
||
| 52 | |||
| 53 | |||
| 54 | <div class="subsection"><h4 id="Source_Code_Control">Source Code Control</h4><div class="text"> |
||
| 55 | |||
| 56 | <p>Besides the required tools described above, you are strongly encouraged |
||
| 57 | to download and install a <em>source code control</em> system, such as Git, |
||
| 58 | Subversion, CVS or one of the many alternatives. You will need appropriate |
||
| 59 | client tools to check out source code files, and check in modified versions and, |
||
| 60 | depending on the tool and hosting option you choose, you may need to obtain and |
||
| 61 | install server software or sign up for an account with a cloud provider.</p> |
||
| 62 | |||
| 63 | <p>Detailed instructions for installing and using source code control |
||
| 64 | applications is beyond the scope of this manual.</p> |
||
| 65 | |||
| 66 | </div></div> |
||
| 67 | |||
| 68 | |||
| 69 | </div></div></div></div></div><footer><div id="footer"> |
||
| 70 | Copyright © 1999-2025, The Apache Software Foundation |
||
| 71 | <br> |
||
| 72 | Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo |
||
| 73 | are either registered trademarks or trademarks of the Apache Software |
||
| 74 | Foundation. |
||
| 75 | </div></footer></div></body></html> |