-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hawke wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Here's what I'm running on:
> Solaris 2.7 plus Rec. Patches.
> Java Patches for 2.7
> Java (jdk)1.2.1_03
> jsdk2.0
> apache 1.3.9
> jserv 1.0
>
> I configured for DSO, configure ran ok.
>
> when I run make I get the following error:
>
> CLASSPATH=/usr/java1.2/src.jar:/usr/local/jsdk20/lib/jsdk.tar:/usr/local/jsd
> k/lib/jsdk.jar:. /usr/java1.2/bin/javac -g -deprecation
> ./org/apache/jserv/JServUtils.java
> ./org/apache/jserv/JServUtils.java:66: Class javax.servlet.http.Cookie not
> found in import.
> import javax.servlet.http.Cookie;
> ^
> 1 error
> make[2]: *** [org/apache/jserv/JServUtils.class] Error 1
> make[2]: Leaving directory `/usr/local/src/ApacheJServ-1.0/src/java'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/ApacheJServ-1.0/src'
> make: *** [install-recursive] Error 1
>
> I searched the Faq-o-matic, but didn't find anything helpful. Other than the
> sneaking suspicion, that this won't work with Java 2, only with Java 1.1x.
> Is this the case? Most of my work is J2 based. So am I going to have to
> have a separate Java 1.1 enviro just for the jserv to setup and run?
> Any help is appreciated, thanks,
> -Hawke
>
Most likely, there is a problem with either the path you have specified for the
jsdk.jar file, or file permissions prevent it from being read. In either case,
the Java compiler pretends that the offending file was not included at all,
instead of telling you what the real problem is.
As you have surmised, Apache JServ works under Java 1.2, although you might
need to establish an appropriate permissions file (see the Java Security
Architecture docs in the JDK 1.2 documentation bundle). You will get
permission exceptions at runtime if this occurs.
Craig McClanahan
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]