[PATCH] search alternatives for system jdk

Andrew Hughes gnu.andrew at redhat.com
Thu Mar 21 08:00:35 PDT 2013



----- Original Message -----
> On Thu, Mar 21, 2013 at 10:13:14AM -0400, Andrew Hughes wrote:
> > 
> > 
> > ----- Original Message -----
> > > 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.
> > > 
> > 
> > Those are there:
> > 
> > ICEDTEA7_VMS="/usr/lib/jvm/icedtea7
> > /usr/lib/jvm/java-1.7.0-openjdk"
> > ICEDTEA8_VMS="/usr/lib/jvm/icedtea8
> > /usr/lib/jvm/java-1.8.0-openjdk"
> 
> Sure, but SUSE package 64bit jdk in /usr/lib64/jvm, so the list can
> extended to
> 
> ICEDTEA7_VMS="/usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk
> /usr/lib64/jvm/java-1.7.0-openjdk"
> ICEDTEA8_VMS="/usr/lib/jvm/icedtea8 /usr/lib/jvm/java-1.8.0-openjdk
> /usr/lib64/jvm/java-1.8.0-openjdk"
> 
> It would be great for me without having any impact on other distros.
> 
> Regards
> Michal Vyskocil
> 
> > 
> > > 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
> > > > 
> > > 
> > 
> > --
> > 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
> > 
> 

Oh right, sure we can do that.  I've not seen them being specific to
/usr/lib64 before.
-- 
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