This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Installing Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Installing Tomcat" Watch "Installing Tomcat" New topic
Author

Installing Tomcat

AJ Brown
Greenhorn

Joined: Mar 30, 2004
Posts: 17
I've decided to start playing around with Tomcat & am having trouble installing it. I've downloaded it & SDK and do not understand this line:

* Set an environment variable JAVA_HOME to the pathname of the directory
into which you installed the SDK release.

How do I set this up? I don't understand this at all.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
This depends on which operating system you are using. So if you can tell us that much someone here should be able to help you.

Layne


Java API Documentation
The Java Tutorial
AJ Brown
Greenhorn

Joined: Mar 30, 2004
Posts: 17
Just going to run it on my own machine to practice...Windows 2000 Professional

Thanks!
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Below are the instructions from the Java Ranch FAQ for setting the CLASSPATH variable. The process here is exactly the same. Just replace "CLASSPATH" with "JAVA_HOME" in these instructions. The value of the JAVA_HOME variable is the path to your JDK installation.
Instructions on Setting the CLASSPATH on different Operating Systems
For Windows XP/2000/NT

* Open the System Properties window (by right-clicking on My Computer and selecting Properties, or through the Control Panel - Start -> Control Panel -> System).
* On the Advanced tab, click the Environment Variables button.
* On the Environment Variables windows, if a CLASSPATH variable is already defined, then select it and click Edit. If one is not defined, then click the New button.
* On the User Variable window, the variable name should be CLASSPATH. Set the value as appropriate. See the description of the value at the top of this page.


[ January 13, 2005: Message edited by: Layne Lund ]
[ January 13, 2005: Message edited by: Layne Lund ]
 
Consider Paul's rocket mass heater.
 
subject: Installing Tomcat