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 how to setup class path 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 "how to setup class path" Watch "how to setup class path" New topic
Author

how to setup class path

mohammad abu nayum
Greenhorn

Joined: Sep 08, 2003
Posts: 4
hi,
when i try to compile servlet i get compile error
(HelloServlet.java:3: package javax.servlet.http does not exist )
but i have set up classpath via system setting like this
set CLASSPATH=.;
C:\ServletDevel;
Tomcat 4.1\common\lib\servlet.jar
so what's the problem?
Srinivas Jag
Greenhorn

Joined: Jun 30, 2003
Posts: 9
Originally posted by mohammad abu nayum:
set CLASSPATH=.;
C:\ServletDevel;
Tomcat 4.1\common\lib\servlet.jar

Check if it is actually a "\" after 'ServletDevel' rather than ";"
 
 
subject: how to setup class path
 
Similar Threads
Where to find javax.servlet.jsp package?
JAVA and MYSQL Problem
How can i set path and classpath?
Package Problem
classpath and Path