Christian Ames wrote:
>
> I am trying to set up a servlet development environment on Red Hat 6. I'm
> running the Blackdown Jdk 1.2 preV2. I compiled Apache with DSO and have
> configured JServ to load as a DSO. I also set up the JSDK2.0, as JServ
> requires it.
>
> After doing all that, I noticed in the README of the JSDK2.0 a line that
> says "if you are using jdk 1.2, you don't need to use the JSDK at all."
> Yet I believe JServ requires JSDK2.0. Also, when I try to compile a
> servlet, I get errors about my import statements (I think this is a
> classpath problem -- but I actually never set up a classpath variable
> since I was using jdk 1.2)
>
> Has anyone tried to set up this environment for Linux? Any advice?
It's a mistake in the JDSK 2.0 README. At one time the servlet classes
were supposed to be included in JDK 1.2. That decision was later changed,
but the README was never updated.
So you do need the JSDK even with JDK 1.2 and you must add the jsdk.jar to
your classpath (to compile) and to JServ's classpath (to run).
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
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