execute : echo %PATH%
and echo %CLASSPATH% en MSDOS.
If there is no answer, that means your path is
wrong...

--- Nick Sotiropoulos <[EMAIL PROTECTED]> a �crit:
> I had the same problems, searched the Web and came
> up with this:
> - add to your Path the 'include' directory of your
> jsdk
> - add to your ClassPath the 'source' directory of
> your jsdk
>
> I did it, it worked, I have no idea who and what!
> Nick.
> ----- Original Message -----
> From: Praveen Vootkuri <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 02, 2000 3:08 PM
> Subject: Trying to compile Servlets on Windows 98.
>
>
> Hi,
>      I downloaded jsdk2.0. I started  running
> Servletrunner. IT was
> successful.When I tried to compile
> Simpleservlet.java which is in
> C:\jsdk2.0\examples folder I am getting the folling
> errors. I tried with
> many other servers from vendors.
>
> C:\JSDK2.0\examples>javac SimpleServlet.java
> SimpleServlet.java:24: Package javax.servlet not
> found in import.
> import javax.servlet.*;
>        ^
> SimpleServlet.java:25: Package javax.servlet.http
> not found in import.
> import javax.servlet.http.*;
>        ^
> SimpleServlet.java:32: Superclass HttpServlet of
> class SimpleServlet not
> fo
> public class SimpleServlet extends HttpServlet
>                                    ^
> 3 errors
>
> THis is the path I set in the C:\autoexec.bat
>
>
PATH=C:\JSDK2.0\BIN;C:\WINDOWS\COMMAND;C:\JDK12~1.2\BIN;
> CLASSPATH =
> C:\jsdk2.0\lib\jsdk.jar;C:\jdk1.2.2\lib\classes.zip;
>
>  I tried every thing that I know of but is not
> working.Could you please
> let me know what the problem is. Thanks in advance.
>
>    -Thank you.
>
>
___________________________________________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

___________________________________________________________________________
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