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

Re: openjdk-6 and openjdk-7 multiarch installable



Hi,

Le vendredi 02 septembre 2011 03:06:47, Matthias Klose a écrit :
> On 09/01/2011 10:46 PM, Torsten Werner wrote:
> > On Wed, Aug 31, 2011 at 11:38 PM, Matthias Klose<doko@debian.org>  wrote:
> >> why deleting the remainder of the email and not reading the email up to
> >> the end?
> > 
> > JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk is the answer? I believe
> > that we will see some FTBFS problems. But maybe that it might a good
> > reason the switch to default-java.
> 
> openjdk-6-jre-headless now doesn't use java-6-openjdk anymore. so with the
> appropriate conflicts, this symlink can be moved to default-jre-headless.

Now, in unstable, we didn't have /usr/lib/jvm/java-6-openjdk/ symlink or 
directory anymore. What's current plan ? Reintroduce this symlink with 
default-jdk package ?

During build, it's work fine to use something like this :
JAVA_HOME := $(firstword $(wildcard /usr/lib/jvm/java-6-
openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/java-6-openjdk))
to handle both multi-arch and single-arch openjdk..

But for runtime, it's a bit more complicated :
- how to handle this switch in a init.d script (without depending on dpkg-dev) 
?
- how to handle this in an /etc/default/file ?

Cheers,
-- 
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan


Reply to: