ScoopInstaller/Java

failed to install openjdk21

freejool opened this issue · 0 comments

Bug Report

Package Name: openjdk

Current Behaviour

error occurs when extracting

Expected Behaviour

Additional context/output

~  scoop install openjdk
WARN  Purging previous failed installation of openjdk.
ERROR 'openjdk' isn't installed correctly.
Removing older version (21-35).
'openjdk' was uninstalled.
Installing 'openjdk' (21-35) [64bit] from java bucket
Loading openjdk-21_windows-x64_bin.zip from cache
Checking hash of openjdk-21_windows-x64_bin.zip ... ok.
Extracting openjdk-21_windows-x64_bin.zip ... Exception: C:\Users\sxing\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'jdk-20.0.2'! (error 16)
➜ ~

Possible Solution

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.3.6

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
  "last_update": "2023-09-23T11:03:15.7750174+08:00",
  "aria2-enabled": false,
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}