Can dependency from "java2-runtime" be replaced by dependency from "java-virtual-machine"?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bouncycastle (Ubuntu) |
Fix Released
|
Medium
|
Thierry Carrez |
Bug Description
Hi,
my actual intention is to use the Bouncycastle JCE provider on an Ubuntu Server installation without GUI (e.g. without X libs installed). I use the JDK which is installed by default, which is openjdk-
Trying to install libbcprov-java, apt-get presents a huge list of packages it needs to install in addition because of libbcprov-java's dependencies:
http://
Requires: java-gcj-compat OR java2-runtime (virtual package, provided by cacao-oj6-jre, default-jre, java-gcj-compat, openjdk-6-jre,
sun-java5-jre, sun-java6-jre)
--> Currently I need to install at least openjdk-6-jre on top of my current system, just to get the single JCE provider JAR file. Because of the dependencies of "openjdk-6-jre", the following packages are installed on top although I don't need them: fontconfig libgif4 libxi6 libxtst6 ttf-baekmuk ttf-bengali-fonts ttf-indic-
Proposes: java-virtual-
--> Here's the JDK which was installed by default: openjdk-
My actual question is: Is it really necessary for the Bouncycastle JCE provider package to require a JRE with GUI support (I can't really imagine that)? If not, would it be possible to replace the dependency from "java2-runtime" by a dependency from "java-virtual-
Thanks for your feedback and potential change, and best regards
Heiko
Runtime dependency should be "default- jre-headless | java2-runtime- headless" so that it works with or without a full JRE and, if nothing installed, pulls our default headless JRE (openjdk- 6-jre-headless on amd64/i386).