[PATCH] search alternatives for system jdk
Michal Vyskocil
mvyskocil at suse.cz
Thu Mar 21 06:56:52 PDT 2013
On Thu, Mar 21, 2013 at 08:20:25AM -0400, Andrew Hughes wrote:
>
>
> ----- 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.
>
> http://icedtea.classpath.org/hg/icedtea/rev/04e4a665e0da
>
> 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.
I see - then can you just add /usr/lib64/jvm/java-1.[78].0-openjdk to
the end of each list? This will cover SUSE packaging and will stay clear
in which version and vendor is the default one.
Regards
Michal Vyskocil
> --
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130321/c45de362/attachment.bin
More information about the distro-pkg-dev
mailing list