PLEASE!!!!!! check the ARCHIVES for CLASSPATH PROBLEMS, this has been
discussed NUMEROUS, NUMEROUS times in this forum and if any1 wishes to reply
to this email PLEASE!!! reply to the sender privately, PLEASE DONT FLOOD THE
LIST!!

HUH!!!!!

Srini

-----Original Message-----
From: Bruce Knipe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 24, 2000 5:58 PM
To: [EMAIL PROTECTED]
Subject: jar file question


I've been trying to compile a servlet that depends on the contents of
servlet.jar.

When I set my CLASSPATH to the directory that contains servlet.jar file
I get import errors stating :
--------------------
javac bruce.java
bruce.java:5: Package javax.servlet not found in import.
import javax.servlet.*;
--------------------

When I unpack the jar file I can compile without errors.

Now my question is: Is this the way things are supposed to work or is
there some way for javac to get the classes out of the jar without
unpacking them?

If not then I have a problem because when I unpack some .jar files I get
"Can't create directory" errors and I'm likely going to run into all
kinds of problems later on.

-Bruce

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to