Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wiatrgr opened this issue Oct 29, 2024 · 0 comments
Open

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

wiatrgr opened this issue Oct 29, 2024 · 0 comments

Comments

@wiatrgr
Copy link

wiatrgr commented Oct 29, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant