Re: How to create sun-java-alike wrappers around gcj and gij?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux