[Bug 337842] [NEW] Can dependency from "java2-runtime" be replaced by dependency from "java-virtual-machine"?

Heiko Ettelbrück hbruckynews at gmx.de
Wed Mar 4 17:47:09 UTC 2009


Public bug reported:

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-6-jre-headless.

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://packages.ubuntu.com/intrepid/libbcprov-java
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-fonts-core ttf-kannada-fonts ttf-kochi-gothic ttf-kochi-mincho ttf-oriya-fonts ttf-telugu-fonts ttf-wqy-zenhei

Proposes: java-virtual-machine (virtual package, provided by cacao-oj6-jre-headless, gij, gij-4.2, gij-4.3, jamvm, java-gcj-compat, java-gcj-compat-headless, kaffe-jthreads, kaffe-pthreads, openjdk-6-jre-headless, sablevm, sun-java5-jre, sun-java6-jre)
--> Here's the JDK which was installed by default: openjdk-6-jre-headless

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-machine"?

Thanks for your feedback and potential change, and best regards
Heiko

** Affects: bouncycastle (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Can dependency from "java2-runtime" be replaced by dependency from "java-virtual-machine"?
https://bugs.launchpad.net/bugs/337842
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list