Try placing the jsdk.jar file into the %JDK_HOME%\jre\lib\ext directory,
where
%JDK_HOME% is the directory where you have the JDK installed.
In general, you do not need to keep adjusting your classpath with Java 2,
just add any JAR files to the "ext" directory.
Shad
--
Shad J. Aumann
190 Earle Drive
North Kingstown, RI 02852
[EMAIL PROTECTED]
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Lalith Jayaweera
> Sent: Sunday, September 26, 1999 4:22 AM
> To: [EMAIL PROTECTED]
> Subject: PROBLEM CONTINUES........
>
>
> Hi,
>
> One of my friends does have the following problem what's
> wrong.(WIndows 95 enviroment)
>
> When compiling servlets it says
>
> ----------------------------------------------------
> MyServlet.java:2 Package javax.servlet not found in import
> import javax.servlet.*;
>
> MyServlet.java:3 Package javax.servlet not found in import
> import javax.servlet.http.*;
> ----------------------------------------------------
>
>
> The problem I have is, he has been compiling servlets pretty well
> but suddenly
> He got the above error(He has made some changes to Autoexec.bat file)
>
> I set his Autoexec.bat file as follows
>
> set classpath=.;c:\jsdk2.1\servlet.jar but still problem exists
>
>
> and Also there are many other stuff in the Autoexec as follows
> because of many other products.eg JWS, JSWDK
>
> The real picture of his autoexec.bat file is ..
>
>
> PATH D:\ORAWIN95\BIN;c:\jdk1.2\bin;
> set classpath
> =.;C:\JSDK2.1\SERVLET.JAR;c:\JavaWebServer2.0\lib\servlet.jar;C:\j
> dk1.2\lib\
> tools.jar;E:\jswdk-1.0\lib\servlet.jar
>
>
>
> This is really a Headache coz I do not have any problems coz am working
> on NT environment.But this is WIN95 I did everything as U can see
> .But no result
>
> (Take into account that he is experimenting many things such as
> jsdk2.1,jswdk1.0
> jws 2.0,jws 1.1.3 that is the reason that his Auto... looks like above)
>
>
>
> Earlier also he has mentioned me that he got this problem and suddenly It
> got vanished.
>
>
> Thanks
>
> Hope U Write soon
>
> __________________________________________________________________
> _________
> 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