oraclejdk: add explicit version manifests by B67687 · Pull Request #600 · ScoopInstaller/Java · GitHub
Skip to content

oraclejdk: add explicit version manifests#600

Closed
B67687 wants to merge 6 commits into
ScoopInstaller:masterfrom
B67687:add/oraclejdk-versions-v2
Closed

oraclejdk: add explicit version manifests#600
B67687 wants to merge 6 commits into
ScoopInstaller:masterfrom
B67687:add/oraclejdk-versions-v2

Conversation

@B67687

@B67687 B67687 commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Closes #566

Summary

Add explicit version manifests to follow bucket pattern:

  • oraclejdk-21.json - Oracle JDK 21 LTS (explicit)
  • oraclejdk-26.json - Oracle JDK 26 (explicit)

This gives users the choice between:

  • oraclejdk - always latest (currently JDK 26)
  • oraclejdk-lts - latest LTS (currently JDK 21)
  • oraclejdk-26 - explicit JDK 26 pin
  • oraclejdk-21 - explicit JDK 21 LTS pin

Validation

checkurls.ps1 oraclejdk-21 -> [1][1][0]
checkurls.ps1 oraclejdk-26 -> [1][1][0]

Context Update

Oracle JDK 21, 25, and 26 are now free to use under the Oracle No-Fee Terms and Conditions (NFTC). This addresses the concern raised in Discussion #517 about Oracle JDK requiring sign-in - that policy has changed, making explicit version manifests appropriate.

Summary by CodeRabbit

  • New Features
    • Oracle JDK 21 LTS (21.0.11) is now available for Windows 64-bit.
    • Oracle JDK 26 (26.0.1) is now available for Windows 64-bit.
    • Installer manifests include automatic version detection and autoupdate support.
    • Installation sets JAVA_HOME and adds the JDK bin directory to PATH.

Review Change Stack

@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

2 similar comments
@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@bucket/oraclejdk-26.json`:
- Around line 17-20: The checkver regex currently matches any JDK major version;
update the checkver.regex to only capture major version 26 (e.g., anchor the
pattern to match "Java SE Development Kit 26..." rather than any digits) so
$majorVersion remains 26; specifically modify the "checkver" -> "regex" value to
constrain the captured version to major 26 (and keep the capture group format
unchanged so downstream $majorVersion parsing continues to work).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d2b0088f-c5a3-4371-82a1-b1b87c6e3183

📥 Commits

Reviewing files that changed from the base of the PR and between ef20951 and 3e72ca5.

📒 Files selected for processing (2)
  • bucket/oraclejdk-21.json
  • bucket/oraclejdk-26.json

Comment thread bucket/oraclejdk-26.json Outdated
@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

oraclejdk-21

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

oraclejdk-26

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@B67687 B67687 force-pushed the add/oraclejdk-versions-v2 branch from 1f920d0 to 1707195 Compare April 29, 2026 15:47
@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

oraclejdk-21

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

oraclejdk-26

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

oraclejdk-21

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

oraclejdk-26

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

The previous regex  could
match any JDK version on the Oracle downloads page (25, 21, etc.).
Pinning to  ensures only JDK 26 versions are captured.
@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

oraclejdk-21

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

oraclejdk-26

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@B67687 B67687 closed this by deleting the head repository Jun 8, 2026
@B67687

B67687 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update oraclejdk manifests to oraclejdk-25 and oraclejdk-21

1 participant