On Thu, Sep 10, 2009 at 4:09 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > Peng Yu wrote: > >> A linux distribution has a package along the lines of >> java-1.5.0-gcj/java-1.5.0-gcj-devel provides various links and a >> directory hierarchy that creates a sun-java-alike wrapper (such as >> command java and javac) around an underlying implementation of gcj/ecj >> + gij. >> >> I download GCC 4.3.4, which does not have these links. But I need >> these links for the compilation and installation of a package. Can >> somebody let me know how to create a sun-java-alike wrapper? Is a >> symbolic link sufficient? > > That's what we do on Fedora. It's not an exact replacement, but it's > usually good enough: > > /usr/bin/java --> > /etc/alternatives/java --> > /usr/lib/jvm/jre-1.5.0-gcj/bin/java --> > /usr/bin/gij I also need javadoc. Would you please let me know which executable in GCC shall javadoc point to? Regards, Peng