← Back to team overview

openjdk team mailing list archive

[Bug 189953] Re: Inconsistent 'Provides' for different java compilers/runtimes

 

Ok, better example: apt-get build-dep <any-java-package> would likely
bring in java-compiler och java2-compiler, which would not be satisfied
by an already installed openjdk-6-jdk.

The reason I mentioned default-jdk-builddep is because the jython
package depends on it. The name led me to believe that it was a meta-
package for java compilation, since default-jdk on lucid i386 is
openjdk-6-jdk.

-- 
Inconsistent 'Provides' for different java compilers/runtimes
https://bugs.launchpad.net/bugs/189953
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “icedtea-java7” package in Ubuntu: Invalid
Status in “openjdk-6” package in Ubuntu: Fix Released

Bug description:
Following are values for 'Provides' field for different java compilers/runtimes.

icedtea-java7-jdk - java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk
icedtea-java7-jre - java-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime
sun-java5-jdk - java-compiler, java2-compiler
sun-java5-jre - java-runtime, java-runtime-headless, java2-runtime, java2-runtime-headless, java5-runtime, java5-runtime-headless, java-virtual-machine
sun-java6-jdk - java-compiler, java2-compiler
sun-java6-jre - java-runtime, java-runtime-headless, java2-runtime, java2-runtime-headless, java5-runtime, java5-runtime-headless, java6-runtime, java6-runtime-headless, java-virtual-machine
gcj-4.2 - java-compiler
gij-4.2 - java-runtime-headless, java1-runtime-headless, java2-runtime-headless, java5-runtime-headless, java-virtual-machine
kaffe - Doesn't have a 'Provides' field
jikes - Doesn't have a 'Provides' field
sablevm - java-runtime, java1-runtime, java-virtual-machine

As per my understanding
java-compiler - just a compiler without a VM ex. jikes
java-virtual-machine - just a VM without a compiler ex. sablevm
java-runtime - compiler + VM. 

Irrespective of whether my understanding is correct or not there has to be a consistency. Specifically icedtea-java7-jdk is out of sync with other compilers like Sun, GCJ.