I had this problem put the servlet.jar file in the extensions of the JDK.

/JDK/jre/lib/ext

<--- Directory.  Aparantly this is a "Feature" rather than a bug.  Where the
runtime enviroment looks in the extensions or something rather than the
classpath.  Bizarre.

Keith
---------------------------------------------------------------------------
Keith Ball - Praktikant
AF12 Operationelle  Analysen  Luftwaffe
IABG MbH                 Einsteinstr. 20              85521 Ottobrunn
Phone : 0049-89-6088-2556
Email : [EMAIL PROTECTED]                         WWW site : www.iabg.de
----------------------------------------------------------------------------

----- Original Message -----
From: Jeff Miller <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 1999 12:52 PM
Subject: Re: compiling with 2.1


> I've had this problem too... try the following
>
> javac -classpath <path> file.java
>
> Hope this helps
> Jeff
> >>> Jason Johnston <[EMAIL PROTECTED]> 10/18/99 6:20:56 PM >>>
> I've been trying to compile servlets with JDK1.3 and JSDK2.1 and I'm
> getting the can't import errors.
>
> I've set my classpath to CLASSPATH=C:\jsdk2.1\servlet.jar
> and it still won't compile.
>
> Does anyone know what this could be due to?
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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