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

未关闭
#552 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java, powershell
领域
cli, tooling

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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"
}
主要语言
PowerShell
星标
314
派生
111
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ScoopInstaller/Java 的其他 Issue

查看 ScoopInstaller/Java 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。