microsoft / microsoft/winget-pkgs
[Package Issue]: Oracle.JavaRuntimeEnvironment - PackageVersion: 8.0.3410.10 - upgrades to different architecture
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
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
Upgrade issue.
A previous version of Oracle.JavaRuntimeEnvironment (x86) is installed, like PackageVersion: 8.0.3330.2
Winget upgrade Oracle.JavaRuntimeEnvironment is run and it replaces the x86 version with the new version but it installs the x64 version.
Steps to reproduce
With a previous x86 version of Oracle.JavaRuntimeEnvironment installed.
Run
Winget upgrade Oracle.JavaRuntimeEnvironment
Actual behavior
Upgrades the installed x86 version to the current x64 version.
Expected behavior
Upgrade the installed x86 version to the current x86 version
Environment
Windows Package Manager (Preview) v1.3.1611-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19044.1826
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.1611.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Screenshots and Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing winget upgrade Oracle.JavaRuntimeEnvironment with an x86 installation on the stated Windows Package Manager environment. Inspect the diagnostic logs under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir and the package metadata involved. Done means the x86 installation upgrades to the current x86 package rather than being replaced by x64.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100