Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] java
  • From: "Nachiket" <nachi76@xxxxxxxxxxxxxx>
  • Date: 4 May 2001 17:58:17 -0000
  • Message-id: <20010504175817.28787.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
Hi there

I think u have not set the CLASSPATH.
The javac is trying to look for the
javax.servlet.. package.Its first check the
default location and then checks CLASSPATH variable.
Just try
CLASSPATH='PATH'
export CLASSPATH

Then it should work.


------------- Original Message --------------
"Purple Shirt" <purpleshirt@xxxxxxxxxxx> wrote:
To:suse-linux-e@xxxxxxxx
From:"Purple Shirt" <purpleshirt@xxxxxxxxxxx>
Date:Fri, 04 May 2001 15:07:25
Subject:[SLE] java

Hi,

what is up with SuSE and java? 7.1 here.

I got java dk and java runtime installed. Neither one shows up in the path.

which java
which: no java in (/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin)

Ok that is all fine because I could adjust my path but heck I then use a
full command /usr/lib/jdk1.1.8/bin/javac and I get upon another problem:

PdfServlet.java:20: Package javax.servlet not found in import.
import javax.servlet.*;
^
PdfServlet.java:21: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
PdfServlet.java:23: Superclass HttpServlet of class PdfServlet not found.
public class PdfServlet extends HttpServlet
^
PdfServlet.java:24: Interface SingleThreadModel of class PdfServlet not
found.
implements SingleThreadModel
^
4 errors

I think it is trying to look for servlet-2.0.jar or something and can't find
it. I did a find and its nowhere.

help appreciated,

mk




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq and the
archives at http://lists.suse.com


_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





< Previous Next >