-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
Jenkins 2.357 on Windows Server, using JRE11
I switched my Jenkins installation to using Java 11 recently on Windows. I did this by changing replacing the jre folder within my Jenkins installation.
When I upgraded to Jenkins 2.357 this morning (using the built-in 'upgrade automatically' functionality), all seemed fine initially, but when I tried to build one of my projects later, which is built with Java 8 update 312, it failed, with a ClassCastException.
I've attached the console output from the build.
Confirmation of local jre as being Java 11:
C:\Windows\system32>cd \applications\Jenkins\jre
C:\applications\Jenkins\jre>bin\java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment Corretto-11.0.12.7.1 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.12.7.1 (build 11.0.12+7-LTS, mixed mode)C:\applications\Jenkins\jre>
- relates to
-
JENKINS-40990 Jenkins 2.27 with remoting 3.0 causes Java 5/6 Maven builds to fail
- Resolved