How to determine $JDK_HOME ?

Brennan Ashton bashton at brennanashton.com
Sun Dec 7 20:16:16 UTC 2008


On Sun, Dec 7, 2008 at 12:05 PM, Peter Lemenkov <lemenkov at gmail.com> wrote:
> Hello All!
> Subj.
> Just found that on x86  and ppc OpenJDK-devel installs into
> "/usr/lib/jvm/java-1.6.0-openjdk", on x86_64 - into
> "/usr/lib/jvm/java-1.6.0-openjdk.x86_64", and on ppc64 - into
> "/usr/lib/jvm/java-1.6.0-openjdk.ppc64".
>
> Is it intentional, or this is a bug? In any case how can I pass JDK
> home to buildscripts w/o ugly %ifarch/else?
>
> --
> With best regards!

Everything that I have been building, I have been doing without
requiring any of the java environment variables, the way it is setup
right now it should JustWork tm if you call java javac etc.

--Brennan Ashton




More information about the fedora-devel-list mailing list