thanks,
So for each package I use I must set classpath each time?
Is there a way to somehow tell the compiler to make use of all files in some
folder example *.jar or *.*?
Thank you very much!

----- Original Message -----
From: "Markus Spath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 12:53 PM
Subject: Re: classpath/servlet compilation error: javax package not found!


> Leon Vermaak wrote:
>
>
> > How does the compiler find the javax.servlet.* classes
> > in the servlet.jar file... WHERE do you tell the compiler to find the
class
> > files or jar for that matter.
>
>
> this is the job of the classpath;
>
> if you call:
> javac -classpath C:\yourjars\servlet.jar
> for instance, all files contained in servlet.jar will be visible to the
compiler;
>
> if your classes reside in a dir called C:\yourclasses
> javac -classpath C:\yourclasses
> will make them visible to the compiler.
>
> you can add as many entries as you like, seperating them by ;
>
> hth,
> markus
>
>
___________________________________________________________________________
> 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