Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P.S.A. openjdk moniker #115985

Closed
denelon opened this issue Aug 9, 2023 · 4 comments
Closed

P.S.A. openjdk moniker #115985

denelon opened this issue Aug 9, 2023 · 4 comments

Comments

@denelon
Copy link
Contributor

denelon commented Aug 9, 2023

Hey everyone, we've been discussing the "openjdk" moniker. The Microsoft Java team has been working on supporting an open JDK for some time and the current package ojdkbuild.ojdkbuild does not appear to be actively supported.

Due to this we would like to remove the moniker from that package and add it to the latest Microsoft.OpenJDK.17 package.

This is not an intent to force the community to use the Microsoft Open JDK or JRE, but to ensure the moniker is being used by an actively maintained implementation.

We are also getting close to support for dependencies in WinGet 1.6. We will have additional work to reason about dependencies where there are options for packages that have support.

We had talked about the work to create a "meta package" for something like Java Development Kits or Java Runtimes where a single dependency could be checked before installing the package, and offering options for which one to install, but this type of prompt would be breaking for automated scenarios.

Discussion is welcome.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Aug 9, 2023
@denelon denelon added Public-Service-Announcement and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Aug 9, 2023
@denelon denelon pinned this issue Aug 9, 2023
@denelon
Copy link
Contributor Author

denelon commented Aug 9, 2023

One of the options we're considering is an enhancement to dependencies with a type of "one of" check to see if a JDK is installed using the meta package. If the dependency is not satisfied then there would be an entry for the "default dependency package" to install that the manifest author could select if we decide to go with the meta package approach.

All features with the dependency label in one query at winget-cli.

This was referenced Aug 9, 2023
@russellbanks
Copy link
Contributor

Just as a thought, wouldn't the logical openjdk be Oracle's OpenJDK?

@denelon
Copy link
Contributor Author

denelon commented Aug 9, 2023

There have been concerns with licensing and the Microsoft team publishes the manifest updates themselves and have committed to continue to support and maintain the implementation. I don't believe Oracle has expressed interest in official support via WinGet.

@SpecterShell
Copy link
Contributor

Is there a way to select a lower version of OpenJDK as dependency as some Java programs do not support the latest JRE?

@denelon denelon closed this as completed Aug 11, 2023
@denelon denelon unpinned this issue Aug 11, 2023
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants