Monday, 7 January 2008

Connecting Apache 2.2.6 and Tomcat 5.5.25 on Windows 2003 Server (Part 1)

Install the JDK (Java Developers Kit)

1. Download the JDK from the the Sun Java site. (http://java.sun.com/javase/downloads/index.jsp)

2. Run the installer and accept the defaults.

3. Setup your Java_Home environment variable.
  1. Goto Control Panel -> System.
  2. Click on Advanced.
  3. Click on Environment Variables.
  4. Click New.
  5. Enter Java_Home as the variable name.
  6. Enter the path to your JDK directory as the variable value.

4. Verify the environment variable setting

  1. Click Start -> Run.
  2. Type 'cmd' and click Run.
  3. Type 'echo %Java_Home%' and hit enter.
  4. Confirm that the screen displays your JDK path correctly.

No comments:

Post a Comment