You dont have the JDSK classes in your classpath.
They can be downloaded from sun if you dont have them.
Add it in and things will work fine.
--shawn

Don Hatch wrote:
> 
> I'm new to java on Linux but have experience with programming java on
> Windows.  I'm having some problems compiling servlets.  When I run javac on
> simple servlets it complains saying that it can't find javax.servlet or
> javax.servlet.http or Superclass HttpServlet.  I'm using Debian 2.1 and
> jdk1.2 Here is my profile info:
> 
> PATH=/usr/local/jdk1.2/bin:/usr/local/jsdk2.0/bin:/usr/local/sbin:/usr/local
> /bin:/usr/sbin:/sbin:/bin:/usr/X11R6/bin
> DISPLAY=:0
> JAVA_HOME=/usr/local/jdk1.2
> CLASSPATH=.:$JAVA_HOME/lib/classes.zip:/usr/local/jdk1.2/jre/lib/rt.jar
> 
> Any help would be appreciated,
> 
> Don Hatch
> 
> _____________________________________________
> Get Your Free Email at http://www.webpipe.net
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to