this seems to be a recurring theme here:

these steps I give out to my clients, if they are followed without 
variation then tomcat will run happilly.

Downloads:

1: download jdk 1.4.1_01 from 
http://java.sun.com/webapps/download/Display?BundleId=7150
2: download tomcat 4.1.12 from 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin/jakarta-tomcat-4.1.12.exe
3: download ant 1.5.1 from 
http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz

PreInstall:

4: browse to http://windowsupdate.microsoft.com/
4a: install all required patches
4b: Reboot the machine if instructed.
4c: Repeat step 4 until there are no more reboots required, or software 
    installed.

5: open control pannel, open system, choose environment variables.
5a: find SYSTEM VARIABLES
5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01
5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1
5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1
5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1
5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program 
Files\jakarta-ant-1.5.1\bin;



Installs and tests:

5: install JDK
5a: click [next] button
5b: aggree to license
5c: verify: Destination folder should read "C:\j2sdk1.4.1_01"
5d: click [next] button
5e: verify: all boxes should be checked
5f: click [next] button
5g: verify: Microsoft Internet Explorer box should be checked
5h: click [next] button

6: Start->Run cmd.exe
6a: at the shell propmt type and press enter:java -version
6b: verify java executes and reports:

 java version "1.4.1_01"
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
 Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

6c: at the shell prompt type and press enter: echo public class test{public static 
void main(String[] args){System.out.println("Hello World!");}} > test.java
6d: at the shell prompt type and press enter: javac test.java
6e: at the shell prompt type and press enter: java test
6f: verify java executes and reports:

 Hello World!

7: install tomcat
7a: verify an alert box pops up stating: Using Java Development Kit found in 
c:\j2sdk1.4.1_01
7b: click [OK] button
7c: click [I Agree] button
7d: select all boxes [Full (w/Source Code)]
7e: click [Install] button
7f: choose defaults for port/user/password [8080,Admin,""]
7g: click [Next] button
7h: click [close] nutton

8: test tomcat: 
8a: verify Apache Tomcat 4.1 service is started [control panel -> Administrative tools 
-> Services]
8b: browse to http://127.0.0.1:8080

9: install ant
9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility
9b: extract to c:\Program Files

10: test ant
10a: Start->Run cmd.exe
10b: at the shell propmt type and press enter:ant -version
10c: verify ant executes and reports:

 Apache Ant version 1.5.1 compiled on October 2 2002


DONE! :)

steps for windows 9x/ME may vary slightly.

cmd.exe is command.com
variables are set in autoexec.bat and require a reboot
tomcat cannot install a service, and will have to be run as an application 
from the start menu.

I highly suggest the you install cygwin, a full install
 http://www.cygwin.com/setup.exe

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.








--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to