You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by John Hosh <jh...@vcn.bc.ca> on 2001/02/22 00:27:48 UTC

Tomcat Installation Windows 98 SE

I provide the following instructions to make  installing Tomcat easier on a
system using Windows 98.

John Hosh

Installing TOMCAT

I. Acquiring Tomcat

Download the ZIPPED file to a temporary directory.

Double-click on the .zip file.

EXTRACT *all* the files. Create or identify the directory into which the
installation should go.

The files will extract themselves into sub-directories.


II. Setting System Parameters

START>RUN>SYSEDIT>OK

Display the window with AUTOEXEC.BAT.

Add the following two lines to autoexec.bat:

 SET JAVA_HOME=C:\JDK1.2.2 [or whatever directory holds java]

 SET TOMCAT_HOME=C:\TOMCAT\jak321  [or whatever directory holds the
installation]

Then click START>SHUTDOWN>RESTART


III. RUNNING TOMCAT

To start and stop Tomcat by double-clicking:

Right-click on startup.bat in Windows Explorer.
Select the Memory-tab. Set the "Initial environment" field to 3072. (If this
field is not set high enough, an "Out of environment space"-error will
appear as Tomcat tries to run.
Select the Program-tab. Leave "Close on exit" blank so the MS-DOS window
does not close.
Click APPLY>OK.

Right-click on shutdown.bat in Windows Explorer.
Do as for startup.bat.

Shortcuts for startup and shutdown will appear in the same directory where
the .bat files are.

*** NOTE: tomcat.bat has an error. Right-click on tomcat.bat. Select EDIT.
Locate the sub-routine :gotLibJars. Delete the rem-note. Add a semi-colon so
**set CP=%CP%%_LIBJARS%** becomes: set CP=%CP%;%_LIBJARS%  Save the file and
close it.

Then click START>SHUTDOWN>RESTART


START TOMCAT

Double-click on the startup.bat-shortcut-icon.

Two MS-DOS windows will appear. The windows will indicate that Tomcat has
finished loading, and is running. Now that you have a web-server, you can
explore the JavaServer Pages Tutorial from Sun Microsystems.


STOP TOMCAT

Double-click on the shutdown.bat-shortcut-icon.