Hi,

I'm trying to make a java package build on all debian architectures. As
the source code needs java 6 to compile, it fails on some architectures
when just depending on default-jdk. These are kfreebsd-* and sparc, where
default-jdk installs gcj instead of openjdk.

Depending on openjdk-6-jdk or openjdk-7-jdk would probably fix that
issue. (jdk 6 would suffice, but as it's already quite old and missing
from jessie, depending on openjdk-7-jdk would be better, I guess)

Therefore, I'd like to build-depend on openjdk-7-jdk | java-6-sdk.
But debian java policy states "Packages must be built with default-jdk".

I'd guess that where policy conflicts with reality, reality wins. But
still, as I'm not experienced in java packaging, I'd like to hear your
opinion. Are there better alternatives?

Regards,
Jan


-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150127142520.ga8...@x61s.reliablesolutions.de

Reply via email to