File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.....
I agree. Here's the link:
subject: Tomcat Problem
It's not a secret anymore!