Entry
Tomcat: How to install Tomcat v4 on Microsoft Windows XP? [JSP / servlet / Java]
Apr 21st, 2007 12:03
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 21 April 2021 - 08:54 pm ----------------------
Tomcat: How to install Tomcat v4 on Microsoft Windows XP? [JSP /
servlet / Java]
Steps: Overview
1. Java Developer Kit (JDK) should be installed on your system
Download e.g. from
http://java.sun.com/products/jdk/1.2/
or the latest at:
http://java.sun.com/j2se/1.4/
2. It is important to set the environment variable:
e.g.
SET JAVA_HOME=jdk1.3.1_02
or a later version of the JDK
3. Download the exe or zip tomcat file (e.g. jakarta-tomcat-4.0.2.exe)
e.g. from URL
http://jakarta.apache.org/builds/jakarta-tomcat-
4.0/release/v4.0.2/bin/
4. Unzip or run the Java SDK file, e.g. by typing the command in
an MSDOS box (where environment variable JAVA_HOME is set to
e.g. jdk1.3.1_02 or later)
jakarta-tomcat-4.0.2.exe
Install this into the default directory.
This should create a new subdirectory (e.g. c:\program
files\Apache Tomcat 4.0)
5. It is important to set the environment variables:
(in general:
SET JAVAHOME=<your JDK main directory>
and
SET CATALINA_HOME=<your Tomcat main directory>)
---
for example:
SET JAVA_HOME=c:\jdk1.3.1_02
SET CATALINA_HOME=c:\progra~1\apache~1.0
6. Open an MSDOS box, and start tomcat, by typing the command:
c:\program files\apache tomcat 4.0\bin\startup.bat
You will see that an MSDOS box starts up with
the message that tomcat has started.
7. Restart your browser, and type the following URL
http://localhost:8080
You should see the Tomcat homepage.
===
Internet: see also:
---
Tomcat: Link: Can you give an overview of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/45112/fid/1669
----------------------------------------------------------------------