----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi, I just read in documentation that java stuff is compiled in the
distribution already and that compiling java source is optional. Since
the error I am getting is in Java sources, perhaps I just shouldn't
compile it and just use the precompiled version.
What is the configure switch to disable java source compilation?
Thanks
Victor wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> When I try to compile JServ 1.1 with Apache 1.3.11,
> I get this error:
>
> Entering directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache/jserv'
> Compiling Ajpv12InputStream.java ...
> Compiling JServ.java ...
> JServ.java:511: Incompatible type for constructor. Can't convert
> java.net.InetAddress to java.lang.String.
> socket = new AuthenticatedSocket(ia, port, new MD5(),
> secret);
> ^
> JServ.java:512: Exception java.io.IOException is never thrown in the
> body of the corresponding try statement.
> } catch (IOException e) {
> ^
> JServ.java:517: Incompatible type for constructor. Can't convert
> java.net.InetAddress to java.lang.String.
> socket = new AuthenticatedSocket(ia, port);
> ^
> JServ.java:518: Exception java.io.IOException is never thrown in the
> body of the corresponding try statement.
> } catch (IOException e) {
> ^
> 4 errors
> make[5]: *** [JServ.class] Error 1
> make[5]: Leaving directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache/jserv'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/export/tmp/ApacheJServ-1.1/src/java/org'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/tmp/ApacheJServ-1.1/src/java'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/tmp/ApacheJServ-1.1/src'
> make: *** [all-recursive] Error 1
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]