Re: How to determine $JDK_HOME ?

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

 



2008/12/7, Colin Walters <walters@xxxxxxxxxx>:
> On Sun, Dec 7, 2008 at 3:05 PM, Peter Lemenkov <lemenkov@xxxxxxxxx> wrote:
>  > In any case how can I pass JDK
>  > home to buildscripts w/o ugly %ifarch/else?

> First, try to make scripts not reliant on the presence of the
>  JAVA_HOME environment variable.  It should be enough to simply invoke
>  "java" to get a JVM.

I'll do.

>  However, if you need it, simply wrap invocations to the scripts with
>  JAVA_HOME=/etc/alternatives/jre
>  which uses the alternatives system to point to the system-preferred JRE.

Thanks! It's working.

-- 
With best regards!

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux