On 09/26/2011 07:41 PM, Torsten Werner wrote: > On Mon, Sep 26, 2011 at 2:53 PM, Matthias Klose <d...@ubuntu.com> wrote: >> hmm, on second thought, I think this looks wrong. at build time you always >> have >> the output of dpkg-architecture -qDEB_HOST_MULTIARCH available, so you can >> adjust it. At runtime that should be handled by all our different java >> wrapper >> scripts. > > $ dpkg-architecture -qDEB_HOST_MULTIARCH > x86_64-linux-gnu > > How does that help setting JAVA_HOME? DEB_HOST_ARCH looks better but > my knowledge about multiarch is limited.
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-$(DEB_HOST_ARCH) or backport friendly: JAVA_HOME = $(firstword $(wildcard /usr/lib/jvm/java-6-openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/java-6-openjdk)) -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e80bdb1.4000...@ubuntu.com