This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Tomcat Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Problem" Watch "Tomcat Problem" New topic

Tomcat Problem

Rishi Yagnik
Ranch Hand

Joined: Jan 04, 2001
Posts: 84
hi friends
can some body explain me how to set a class path for tomcat and where can i set that path,it needed two path JAVA_HOME & TOMCAT_HOME how can i set both the paths?
Harpal Singh
Ranch Hand

Joined: Oct 10, 2000
Posts: 229
Dear rishi,
if u r using win 98 or 95 then set the paths in autoexec.bat as follows
set java_home=c:\jdk1.3(or what ever remember not add bin coz it adds by itself)
set tomcat_home=c:\jakarta-tomcat-3.2.1(or whichever drive it is)
if u have NT or 2000 set it as an environment variable...
hope it helps,
Harpal Singh
Ranch Hand

Joined: Oct 10, 2000
Posts: 229
hey rishi,
chk this link out.....
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat Problem
Similar Threads
How to set application context path in server.xml
How to set classpath for java in Linux
setting log4j
image of jsp in the jboss
can not run my web application get 404 error