I have a issue to install older version of java -- temurin17-jdk
wiatrgr opened this issue · 0 comments
I need to use temurin17-jdk version 17.0.11-9 but when i try to use it i got error :
PS C:\Users\wiatrgr> scoop install temurin17-jdk@17.0.11-9 -g
WARN Given version (17.0.11-9) does not match manifest (17.0.13-11)
WARN Attempting to generate manifest for 'temurin17-jdk' (17.0.11-9)
Autoupdating temurin17-jdk
Searching hash for $matchName in https://github.com/$matchLink/download/$matchTag/$matchName.sha256.txt
The remote server returned an error: (404) Not Found.
URL https://github.com/$matchLink/download/$matchTag/$matchName.sha256.txt is not valid
Could not find hash in https://github.com/$matchLink/download/$matchTag/$matchName.sha256.txt
Downloading $matchName to compute hashes!
The request was aborted: The connection was closed unexpectedly.
URL https://github.com/$matchLink/download/$matchTag/$matchName is not valid
Could not install temurin17-jdk@17.0.11-9
Select-CurrentVersion : Cannot bind argument to parameter 'AppName' because it is an empty string.
At C:\Users\wiatrgr\scoop\apps\scoop\current\lib\core.ps1:435 char:54
-
return $null -ne (Select-CurrentVersion -AppName $app -Global:$gl ...
-
~~~~
- CategoryInfo : InvalidData: (:) [Select-CurrentVersion], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Select-CurrentVersion
You cannot call a method on a null-valued expression.
At C:\Users\wiatrgr\scoop\apps\scoop\current\lib\manifest.ps1:36 char:5
-
$app = $app.TrimStart('/')
-
~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
Test-Path : Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\Users\wiatrgr\scoop\apps\scoop\current\lib\manifest.ps1:57 char:27
-
if (Test-Path $app) {
-
~~~~
- CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand
Couldn't find manifest for ''.
Could you help with it ?