Bug#784150: java-package: Created package doesn't provide default-jre/default-jdk

Emmanuel Bourg ebourg at apache.org
Mon May 4 12:22:09 UTC 2015


Hi,

Actually default-jre points to the default JRE provided by Debian
(openjdk-* or gcj depending on the architecture) and this dependency
shouldn't be provided by the package generated by java-package.

LibreOffice depends on default-jre *or* java5-runtime, this is the
dependency that should be provided by java-package. Up to java-package
0.56 (as in Jessie) the package generated provides java<n>-runtime for
the last 3 versions of Java, so when packaging Java 8 you get java{6, 7,
8}-runtime, but not java5-runtime, that's why it doesn't work with
LibreOffice. Starting with java-package 0.57 all the java<n>-runtime for
n >= 5 are provided. I'll backport this version to Jessie, you'll then
be able to create a package that works well with libreoffice.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list