temurin-jre update failed - Could not find 'jdk-24.0.2+12-jre'! (error 11)

Open
#552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, powershell
Domain
cli, tooling

Research direction

Start with the temurin-jre update path and inspect lib/core.ps1 around line 889, where extraction reports that jdk-24.0.2+12-jre cannot be found. Reproduce the update on Windows with the listed versions and compare the archive contents with the expected extraction path; done means temurin-jre updates from 24.0.1-9 to 24.0.2-12 successfully.

Written by the indexing model from the issue text.

Description

bug

Bug Report

Package Name: temurin-jre

Current Behaviour

temurin-jre: 24.0.1-9 -> 24.0.2-12
Updating one outdated app:
Updating 'temurin-jre' (24.0.1-9 -> 24.0.2-12)
Downloading new version
OpenJDK24U-jre_x64_windows_hotspot_24.0.2_12.zip (54.9 MB) [===================================] 100%
Checking hash of OpenJDK24U-jre_x64_windows_hotspot_24.0.2_12.zip ... ok.
Uninstalling 'temurin-jre' (24.0.1-9)
Unlinking ~\scoop\apps\temurin-jre\current
Removing ~\scoop\apps\temurin-jre\current\bin from your path.
Installing 'temurin-jre' (24.0.2-12) [64bit] from 'java' bucket
Loading OpenJDK24U-jre_x64_windows_hotspot_24.0.2_12.zip from cache
Extracting OpenJDK24U-jre_x64_windows_hotspot_24.0.2_12.zip ... Exception: C:\Users\ShaulRoyzen\scoop\apps\scoop\current\lib\core.ps1:889
Line |
889 | throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find 'jdk-24.0.2+12-jre'! (error 11)

Expected Behaviour

Update success

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 5.1.22621.5624

Additional software: ConEmu

Scoop Configuration
{
  "last_update": "2025-08-10T16:11:47.3400169+03:00",
  "use_lessmsi": true,
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "shim": "kiennq"
}
Dominant language
PowerShell
Stars
314
Forks
111
PR merge metrics
No merged PRs in 30d

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.

More from ScoopInstaller/Java

All issues in ScoopInstaller/Java

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.