Skip to content

Document Java package compatibility by distribution - #1152

Merged
brunoborges merged 1 commit into
mainfrom
brunoborges-document-java-package-types
Jul 28, 2026
Merged

Document Java package compatibility by distribution#1152
brunoborges merged 1 commit into
mainfrom
brunoborges-document-java-package-types

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

Description:
The supported java-package values and their version boundaries were scattered across distribution-specific examples and implementation details, making it difficult to choose a compatible artifact.

Add a central compatibility reference that explains package suffixes and maps every supported distribution to its package types, Java version constraints, catalog behavior, and notable platform limitations. The guidance also covers special resolution behavior for Temurin JMODs, Zulu CRaC, JavaFX bundles, JetBrains variants, and local jdkfile archives.

Related issue:
N/A

Check list:

  • Ran npm run check locally (format, lint, build, test) and all checks pass.
  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: de5ff500-7ba1-4b07-9805-cfc4036d6155
Copilot AI review requested due to automatic review settings July 28, 2026 22:46
@brunoborges
brunoborges requested a review from a team as a code owner July 28, 2026 22:46
@brunoborges
brunoborges merged commit 24d1ce4 into main Jul 28, 2026
3 checks passed
@brunoborges
brunoborges deleted the brunoborges-document-java-package-types branch July 28, 2026 22:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a centralized reference in the advanced usage documentation to help users choose a compatible java-package for each supported Java distribution, including package suffix meaning, version constraints, catalog behavior, and platform limitations.

Changes:

  • Added a new “Package compatibility” section with a distribution-by-distribution matrix of supported java-package values and constraints.
  • Documented package suffix semantics (+fx, +crac, +jmods, +jcef, +ft) and clarified how setup-java resolves packages when version ranges aren’t explicitly constrained.
  • Updated the example under “Installing custom Java package type” to demonstrate selecting a non-default package (jre) with a concrete distribution/version.
Show a summary per file
File Description
docs/advanced-usage.md Adds a centralized “Package compatibility” matrix and supporting explanations for java-package selection across distributions.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants