Issue #17701: fix Cirrus CI Windows JDK21 installation by switching to Temurin#17702
Conversation
|
@romani as you see on my code editor it is perfect
But in PR how it showing red across letter 'J' don't know
|
|
Thanks a lot for quick fix. If too much effort, we can use 21.0.0. exact latest jdk version is no critical to us. |
i tried to fix current possible way if it still goes down, i will go by your way as said. |
|
@romani it should be fixed as said, all build were green and working with jdk21 been installed. |
|
@romani All ci green, good to go? |
|
@Brijeshthummar02 , please suggest what might be wrong in Cirrus ? java is not recognized |
Back than when we merged it was working, let me check what's the issue. |
|
@romani can we re-run complete ci/cd for last to PR where it got failed.
|
|
Cirrus does not run on PRs, it executes only after merge, only from code on master. |



Fixes #17701
This PR fixes the Windows build on Cirrus CI, which was failing due to an unavailable JDK version.
Previously,
.cirrus.ymltried to install OpenJDK 21.0.6 via Chocolatey:choco install -y --no-progress openjdk --version 21.0.6but Chocolatey's
openjdkpackage only provides21.0.0, so the job failed.Updated
.cirrus.ymlto install Eclipse Temurin 21.0.6.7, which is available on Chocolatey.Updated
JAVA_HOMEto point to the Temurin install path:C:\Program Files\Eclipse Adoptium\jdk-21Added
refreshenvto reload environment variables after the install step.