microsoft / microsoft/winget-cli

Support Java Archives as a portable package type

Open
#3,387 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
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.

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.