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

Re: How to determine $JDK_HOME ?



Le dimanche 07 décembre 2008 à 12:11 -0800, Conrad Meyer a écrit :
> On Sunday 07 December 2008 12:05:35 pm Peter Lemenkov 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?

> Well, we also use alternatives to handle choosing the java version to use. If 
> JDK_HOME is just supposed to contain 'bin/javac' then you can set it 
> to '/usr'.

The "jre" alternative controls access to the default system jre, and the
"java" alternative does the same for the full jdk

-- 
Nicolas Mailhot

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


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