JDK installation and configuration:
Download the J2SE installation file from the following URL: http://java.sun.com/j2se/1.4.2/download.html
Installation is assumed that the installation directory is: c: /j2se1.4
Set the following environment variables after installation: (My Computer -> Properties -> Advanced -> Environment Variable)
1. Add environment variable java_home: C: /J2se1.4
2. Add environment variables ClassPath:.;% Java_home% / lib;% java_home% / lib / rt.jar;% java_home% / lib / Tools.jar
3. Added in environment variables;% java_home% / bin
This JDK environment is complete.
Tomcat installation and configuration:
Download Tomcat 5 from the following URL: http://apache.netsolutions.com.hk/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.zip
After downloading, unzip it to a directory, assume that it is C: / Tomcat5
The configuration environment variable is as follows:
1. Add environment variable: Tomcat_Home: C: / Tomcat5
2. Add:;% Tomcat_Home% / CommON / lib
To this Tomcat running environment configuration.
Reference: http://www.knowsky.com/3217.html