Hi ahmad,
If your classpath isn't being recognized i'll have to put all libraries
required to java compiling on the -classpath param.
Wellington
Brazil
Ahmad Zahir wrote:
> Hi all,
>
> I'm still having problems compiling servlets
> on Redhat 5.2, jsdk 2.0, jdk1.1.7...this is the syntax:
> $CLASSPATH was not being recognized, so i included manually.
>
> javac -classpath /usr/local/jsdk/lib/jsdk.jar Hello.jar
>
> Hello.java:3: Package java.io not found in import.
> import java.io.*;
> ^
> Hello.java:13: Superclass java.lang.Object of class Hello not found.
> public class Hello extends HttpServlet
> ^
> 2 errors
>
> What other variables do i have to set in order to compile a simple
> servlet?
>
> Thanks in advance,
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> READ THE FAQ!!!! <http://java.apache.org/faq/>
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]