Skip to content

Add the version to the provided java-runtime and java-sdk dependencies of the Debian packages #689

Done
adoptium/installer
#1541

Description

Since June 2023 the Debian OpenJDK packages (and Eclipse Temurin since October 2024) declare versioned virtual packages:

openjdk-25-jre-headless: Provides: java-runtime-headless (= 25)
openjdk-25-jre:          Provides: java-runtime (= 25)
openjdk-25-jdk-headless: Provides: java-sdk-headless (= 25)
openjdk-25-jdk:          Provides: java-sdk (= 25)

Since OpenJDK 24 (September 2024), the Debian OpenJDK packages no longer provide the numbered virtual packages (java17-runtime-headless, java21-sdk...), so Debian packages are moving dependencies such as:

Depends: default-jre | java17-runtime

to this:

Depends: default-jre | java-runtime (>= 17)

The msopenjdk-NN packages declare these virtual packages without a version, for example msopenjdk-25 25.0.5.1-1 in the Debian 12 repository of packages.microsoft.com has:

Provides: java-runtime, java-runtime-headless, java-sdk, java-sdk-headless, java10-runtime, ...

An unversioned Provides never satisfies a versioned dependency, so the Microsoft build of OpenJDK can't satisfy java-runtime (>= 17).

Could you please add the version to the provided java-runtime, java-runtime-headless, java-sdk and java-sdk-headless dependencies of the Debian packages? The numbered javaNN-runtime* Provides can stay alongside for compatibility.

Activity

  1. joe-braley commented on Nov 20, 2026

    @joe-braley
    Contributor

    Hi Emmanuel Bourg (@ebourg) !

    Thanks for sharing this feedback with us! We will take a look at our installers specifications and follow up here once the work is complete.

    Thank you!

  2. joe-braley commented on Dec 1, 2026

    @joe-braley
    Contributor

    Re-assigned to Luigi Montoya (@Luigi96) since he is driving some work with our Debian installers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions