Java icon indicating copy to clipboard operation
Java copied to clipboard

I have a issue to install older version of java -- temurin17-jdk

Open wiatrgr opened this issue 1 year ago • 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 [email protected] -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 [email protected] 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 ?

wiatrgr avatar Oct 29 '24 15:10 wiatrgr