microsoft / microsoft/winget-cli
Support Java Archives as a portable package type
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
I'd like to be able to use WinGet to install Java Archives as a portable package.
We've had some recent discussions surrounding Java Archives.
- https://github.com/microsoft/winget-cli/issues/3386
- https://github.com/microsoft/winget-pkgs/pull/110767
- https://github.com/microsoft/winget-cli/pull/3385
I believe this is one of those scenarios where we're going to need a spec. WinGet doesn't have a native facility to ensure the right version of a Java runtime is present. There are also several licensing implications. It may be possible to have a package like a Java runtime specified as a dependency for a portable package, but the gap is really around which version of a Java runtime should be installed by WinGet as the "default". There are licensing concerns and other things to take into consideration.
While it might be possible to detect the presense or absense of a runtime, it is likely not going to make everyone happy if WinGet chooses a default JRE (Java Runtime Environment) to install.
Proposed technical implementation details
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 reading the linked issue 3386 and the referenced pull requests 110767 and 3385 to understand the existing Java Archive discussions. The issue names no files or tests; first clarify the required specification, runtime dependency behavior, default JRE policy, and licensing constraints before implementation can be scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, java
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100