--
Ahmad Zahir wrote:
>
> 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
>
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 : . :
/p
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:
> $CLA
Hi Ahmad:
I think that if you use the "-classpath" command line option, the
specified path gets added to the original $CLASSPATH. So, you must include
them ALL on the command line.
Greg Tomalesky
-Original Message-
From: Ahmad Zahir <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL