-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Area-ClientThese issues require changes to the client.These issues require changes to the client.Blocking-IssueManifest validation is blocked by a known issue.Manifest validation is blocked by a known issue.In-PRPackage-UpdateThis package needs to be updatedThis package needs to be updated
Milestone
Description
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
- winget install EclipseAdoptium.Temurin.17.JDK
- 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
Labels
Area-ClientThese issues require changes to the client.These issues require changes to the client.Blocking-IssueManifest validation is blocked by a known issue.Manifest validation is blocked by a known issue.In-PRPackage-UpdateThis package needs to be updatedThis package needs to be updated