Thanks for handling that. The Jenkins instance I created is running JDK 17 for 
that reason.

From: Josh Tynjala<mailto:joshtynj...@bowlerhat.dev>
Sent: Tuesday, November 29, 2022 11:56 PM
To: Apache Royale Development<mailto:dev@royale.apache.org>
Subject: Using Java 11 for Royale jobs on ci-builds.apache.org

Hey team,

I just wanted to mention that I did a little maintenance to our Royale jobs
that run on ci-builds.apache.org today. In particular, I updated the jobs
to run using Java 11 instead of Java 8.

The reason I changed this is because Jenkins seems to require Java 11 as
the minimum version now, as mentioned in this blog post from earlier this
year:

https://www.jenkins.io/blog/2022/06/28/require-java-11/

I discovered the new minimum requirement after I noticed that some of our
builds were failing intermittently with the following message:

java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been
compiled by a more recent version of the Java Runtime (class file version
55.0), this version of the Java Runtime only recognizes class file versions
up to 52.0

Class file version 55.0 is used by Java 11 and class file version 52.0 is
used by Java 8.

To be clear, this change only affects ci-builds.apache.org, and Royale can
still be built with Java 8 in other environments.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>

Reply via email to