Hi zahir,
when you use the -classpath option you limit the class path scope to what
you have mentioned.  in your case, the jdk1.1.7 classpath is now not visible
to your compiler.  so you export the full classpath at your prompt as

linux#export CLASSPATH=/path/to/jdk1.1.7/lib/classes.zip :  . :
/path/to/jsdk/lib/jsdk.jar : /any/other/classpaths.

Of course this is only for compiling, for runtime support of class files you
have to edit your jserv.properties file

Riaz



Zahir wrote
-----Original Message-----
>javac -classpath /usr/local/jsdk/lib/jsdk.jar Hello.jar
>
>Hello.java:13: Superclass java.lang.Object of class Hello not found.
>public class Hello extends HttpServlet




--
--------------------------------------------------------------
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]

Reply via email to