Skip to content

[Package Issue]: OpenStreetMap.Josm should have dependency on "one of" JDK > 17 not only the Oracle one #165368

@Binnette

Description

@Binnette

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Other

Brief description of your issue

According to winget, Josm required "Oracle.JDK.17 >= 17.0.1.0". But instead it should required one of:

  • Oracle.JDK.17
  • Amazon.Corretto.17.JDK
  • Azul.Zulu.17.JDK
  • EclipseAdoptium.Temurin.17.JDK
  • IBM.Semeru.17.JDK
  • AdoptOpenJDK.OpenJDK.17
  • Microsoft.OpenJDK.17

Instead of forcing the installation of "Oracle.JDK.17", we should set the requirement of one of theses JDK. That way the user can install for example EclipseAdoptium.Temurin.17.JDK and then install OpenStreetMap.Josm

And Josm will work because, Josm can work on any JDK >= 17.0.1.0

Steps to reproduce

  1. winget install EclipseAdoptium.Temurin.17.JDK
  2. winget install OpenStreetMap.Josm

Here winget want to install Oracle.JDK.17, but I already installed another JDK 17

Actual behavior

winget force install Oracle.JDK.17

Expected behavior

winget should check for any JDK 17 and do not force to install Oracle.JDK.17

Environment

Gestionnaire de package Windows v1.8.1911
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.19045.4651
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.23.1911.0

Répertoires Winget
-----------------------------------------------------------------------------------------------------------------------------------------
Journaux                                     %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Paramètres utilisateurs                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Répertoire des liens portables (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Links
Répertoire des liens portables (ordinateur)  C:\Program Files\WinGet\Links
Racine de package portable (utilisateur)     %LOCALAPPDATA%\Microsoft\WinGet\Packages
Racine du package portable                   C:\Program Files\WinGet\Packages
Racine de package portable (x86)             C:\Program Files (x86)\WinGet\Packages
Téléchargements du programme d’installation  %USERPROFILE%\Downloads

Liens
---------------------------------------------------------------------------------------------
Déclaration de confidentialité        https://aka.ms/winget-privacy
Contrat de licence                    https://aka.ms/winget-license
Avis de tiers                         https://aka.ms/winget-3rdPartyNotice
Page d’accueil                        https://aka.ms/winget
Conditions générales du Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Paramètre administrateur                  État
---------------------------------------------------
LocalManifestFiles                        Désactivé
BypassCertificatePinningForMicrosoftStore Désactivé
InstallerHashOverride                     Désactivé
LocalArchiveMalwareScanOverride           Désactivé
ProxyCommandLineOptions                   Désactivé
DefaultProxy                              Désactivé

Screenshots and Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ClientThese issues require changes to the client.Blocking-IssueManifest validation is blocked by a known issue.In-PRPackage-UpdateThis package needs to be updated

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions