Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat

 
sachin sachdev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to set classpath,path,and java_home var in tomcat4.2
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic