On 11/23/05, Victor Lee <[EMAIL PROTECTED]> wrote:
>
> Interesting article: http://www.gnu.org/philosophy/java-trap.html
>
> Why can't nutch be compiled in GCJ?  Does it use some Sun libraries that
> GCJ doesn't have?


Yes, there are dependencies for example on the package com.sun.net, that
AFAIK are not part of the SDK spec. But even though I don´t know if GCJ
already implements all J2SDK 1.4 specification, as Nutch
requires<http://wiki.apache.org/nutch/FAQ#head-64bcedecb629a30d4b5a2717327402732cc38f77>
.

    [javac] 19. ERROR in /nutch-0.7.1
/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclie
    [javac] nt/DummyX509TrustManager.java
    [javac]  (at line 15)
    [javac]     import com.sun.net.ssl.X509TrustManager;
    [javac]            ^^^^^^^^^^^
    [javac] The import com.sun.net cannot be resolved


Ben Halsted <[EMAIL PROTECTED]> wrote: GJC the Gnu compiler for Java. So
> it's trying to compile the java code to
> native executables, but afaik the GJC stuff is still in development. If
> you
> installed java from the java.sun.com site I think you'd have better
> results.
>
> Cheers,
>   Ben
>
> On 11/23/05, Victor Lee  wrote:
> >
> > I attached the text file of the compilation error messages.  It
> complaint
> > about the /nutch-0.7.1/src/plugin/nutch-extensionpoints/src/java not
> > exist, so I just make the directory myself, then compile again
> >
>
>
>
>
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.
>



--
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: www.bpfurtado.net
blog: http://www.livejournal.com/users/bpfurtado/

Reply via email to