Bug#583955: libxml-commons-resolver1.1-java: should depend on headless jres

Niels Thykier niels at thykier.net
Mon May 31 23:00:40 UTC 2010


brian m. carlson wrote:
> Package: libxml-commons-resolver1.1-java
> Version: 1.2-5
> Severity: important
> 
> libxml-commons-resolver1.1-java depends on classpath-common |
> java1-runtime | java2-runtime.  The latter two dependencies bring in
> JREs with graphical interfaces.  I use this package on my server with
> OpenJDK.  Unfortunately, this brings in the full graphical JRE,
> including dependencies on libgtk2.0-0.  This is not appropriate for a
> server.
> 
> Please instead depend on java-runtime-headless | java2-runtime-headless
> so that this package can be used on a server without excess baggage.
> 
>  [...]

A recent update to the Java Policy says that Java Libraries should not
depend on any JRE anymore. Instead programs must depend on the
appropriate JRE needed to run the program (implicitly the program is
required to take its dependencies into account when choosing the JRE).

~Niels


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100601/ee0e9dfd/attachment.pgp>


More information about the pkg-java-maintainers mailing list