Skip to content

fix cirrus-ci failure to install jdk21 #17701

@romani

Description

@romani

detected at https://cirrus-ci.com/task/6252028608905216?logs=install#L1544
https://github.com/checkstyle/checkstyle/pull/17700/checks?check_run_id=48973535921

regression from f00a1de#diff-62587956f943bb2503db7bc6dd27d0d888074a1c0ecaab3f570ad611aff0f7bbR28

missed due to Cirrus was skipped in execution for PR due to overuse of credits in August, but it is back in execution now.

C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build>call choco install -y --no-progress openjdk --version 21.0.6 
Chocolatey v2.5.0
Installing the following packages:
openjdk
By installing, you accept licenses for the packages.
openjdk not installed. The package was not found with the source(s) listed.
 Source(s): 'https://community.chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Version was specified as '21.0.6'. It is possible that version
 does not exist for 'openjdk' at the source specified.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
 assistance.
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
 - openjdk - openjdk not installed. The package was not found with the source(s) listed.
 Source(s): 'https://community.chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Version was specified as '21.0.6'. It is possible that version
 does not exist for 'openjdk' at the source specified.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
 assistance.

we need to put here proper jdk version for chocolatey

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions