This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat" Watch "tomcat" New topic
Author

tomcat

sachin sachdev
Greenhorn

Joined: Jun 12, 2006
Posts: 1
how to set classpath,path,and java_home var in tomcat4.2
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

sachin sachdev,

Welcome to Javaranch.
We have a forum dedicated to Apache Tomcat.

I'll move this thread there where I think you'll get better answers.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by sachin sachdev:
how to set classpath,path,and java_home var in tomcat4.2


It depends on your operating system (OS) and how you're installing Tomcat.

For Windows based systems, there is an ".exe" version that handles all that for you. You only need to verify that it has found the right JDK during the install wizard.

You can also download and unpack a zip file. In this case, you would need to set all the environment variables yourself (either through a wrapper batch file or from your System Settings screen).
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
Also note that Tomcat ignores your environment "CLASSPATH" setting. See the webapps/tomcat-docs/class-loader-howto.html file that comes with a standard Tomcat installation for all the gory details.
Bill
 
GeeCON Prague 2014
 
subject: tomcat