Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@wiatrgr

Description

@wiatrgr
Issue body actions

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.