did u add the servlet.jar file or any jar file for this installation kit
to ur classpath i suspect not this the error i believe

On Fri, 20 Aug 1999, Michael Michalski wrote:

> I have got to be brain dead or something because I can NOT get javac to see
> the JSDK packages.  Here is the deal.
>
> I am running Windows 98 with PWS and JRUN installed.  JRun is not running at
> the time I attempt to compile my servlet.
>
> JDK 2.2.1 is found at E:\jdk1.2.2.
> JSDK 2.1 is found at E:\jsdk2.1.
>
> My autoexec.bat file looks like this:
>
> if not "%OS%"=="Windows_NT" if "%COMSPEC%"=="C:\WINDOWS\COMMAND.COM"  set
> SMS_LOCAL_DIR=C:\WINDOWS
> SET
> PATH=E:\jdk1.2.2\bin;E:\jsdk2.1\src\javax;C:\WINDOWS\SYSTEM\WBEM;C:\WINDOW
> SET CLASSPATH=E:\jdk1.2.2\lib;E:\jrun\servlets
>
> When I attempt to compile the servlet I get the following:
>
> C:\>javac e:\JRun\servlets\firstServlet.java
> e:\JRun\servlets\firstServlet.java:2: Package javax.servlet not found in
> import.
>
> import javax.servlet.*;
>        ^
> e:\JRun\servlets\firstServlet.java:3: Package javax.servlet.http not found
> in im
> port.
> import javax.servlet.http.*;
>        ^
> e:\JRun\servlets\firstServlet.java:5: Superclass HttpServlet of class
> firstServl
> et not found.
> public class firstServlet extends HttpServlet {
>                                   ^
> 3 errors
>
> I just got off a plane after a 6:15 AM flight and I know that my brain is
> not functioning properly.  What am I missing here?
>
> Michael
>

___________________________________________________________________________
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