"Simonin, Bradley" wrote:
>
> I have been developing Java Servlets on Windows NT for some time.  Now I
> need to develop them on Linux.  I have jdk1.2.2 and jsdk2.1 installed on my
> Linux box in /usr/local.  My path has the following:
>
> ".........:/usr/local/jdk1.2.2/bin:/usr/local/jdk1.2.2/lib/tools.jar:/usr/lo
> cal/jsdk2.1/servlet.jar:......."
>
> But I am still getting the infamous javax.servlet.http not found when I
> compile a servlet.  Does anyone with Linux experience know why?
You should edit your .bash_profile and add:
CLASSPATH=.:/usr/local/jsdk2.1/servlet.jar:

make sure the line:
EXPORT PATH etc. includes CLASSPATH

sven

--
-------------------------------------------------------------------------------------------
Sven E. van 't Veer                                                Afiliado
Universo Online
Gerente Desenvolvimento
Brasil Inform�tica e Telecomunica��es Ltda.
http://www.brvip.com.br
http://www.uol.com.br
-------------------------------------------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to