You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian package temurin-21-jdk provides package name java21-sdk-headless.
But it does not provide java21-sdk.
Debian package openjdk-21-jdk on linux mint provides java21-sdk
But it does not provide java21-sdk-headless.
So there is no common package name provided anymore which I can use to express a build dependency on Java 21 in a vendor independent manner.
Interestingly, the temurin-21-jdk package does provide the java<version>-sdk package name for Java versions up to 18.
Did you test with the latest update version?
Yes
Please provide steps to reproduce where possible
Compare package descriptions of temurin-21-jdk and openjdk-21-jdk.
Especially compare the field Provides of both packages.
apt-cache show temurin-21-jdk
apt-cache show openjdk-21-jdk
Expected Results
I expect to find a versioned common name in the Provides field of both packages.
For example temurin-21-jdk should provide java21-sdk just as openjdk-21-jdk does already.
Actual Results
temurin-21-jdk does not provide java21-sdk.
What Java Version are you using?
openjdk 21.0.5 2024-10-15 LTS OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode, sharing)
I'm not sure it's possible (or desirable) to be compatible with any distro provides. This might inadvertently pull in Temurin where the user perhaps doesn't intent to.
On the other hand, it seems a reasonable use-case to depend on some vendor-independent thing. The question is whether or not there is agreement between distros of OpenJDK of what those vendor-independent provides should be and whether or not that causes problems.
Something like this would also be hard to test reliably. We'd probably need to find somebody to drive this effort in terms of implementation/research/test and would need PMC go ahead.
Please provide a brief summary of the bug
Debian package
temurin-21-jdk
provides package namejava21-sdk-headless
.But it does not provide
java21-sdk
.Debian package
openjdk-21-jdk
on linux mint providesjava21-sdk
But it does not provide
java21-sdk-headless
.So there is no common package name provided anymore which I can use to express a build dependency on Java 21 in a vendor independent manner.
Interestingly, the
temurin-21-jdk
package does provide thejava<version>-sdk
package name for Java versions up to 18.Did you test with the latest update version?
Please provide steps to reproduce where possible
Compare package descriptions of
temurin-21-jdk
andopenjdk-21-jdk
.Especially compare the field
Provides
of both packages.Expected Results
I expect to find a versioned common name in the
Provides
field of both packages.For example
temurin-21-jdk
should providejava21-sdk
just asopenjdk-21-jdk
does already.Actual Results
temurin-21-jdk
does not providejava21-sdk
.What Java Version are you using?
openjdk 21.0.5 2024-10-15 LTS OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode, sharing)
What is your operating system and platform?
Linux Mint 22 - Wilma, x86_64
How did you install Java?
Did it work before?
Did you test with other Java versions?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: