[PATCH] search alternatives for system jdk

Andrew Hughes gnu.andrew at redhat.com
Thu Mar 21 05:20:25 PDT 2013

----- Original Message -----
> Hi,
> attached patch adds the /etc/alternatives/java_sdk_openjdk to the
> list
> of directories where system jdk is searched. It will work on all
> distros
> using jpackage.org style alternatives layout and which don't install
> 64bit jvm into /usr/lib/jvm.
> It is made on top of 2469:14ea939ddd75 from
> http://icedtea.classpath.org/hg/icedtea/
> 2013-03-21  Michal Vyskocil  <mvyskocil at suse.cz>
> 	search /etc/alternatives/java_sdk_openjdk for system jdk.
> 	* acinclude.m4: add alternatives into a list.
> 	* INSTALL: Updated.
> Regards
> Michal Vyskocil

I updated this to check specifically for 7 & 8 already, and to drop
6 permanently and gcj for now.


The alternatives one could be added to all branches as a last ditch
attempt though.  We don't know which version it is so the others
are preferable.
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

More information about the distro-pkg-dev mailing list