News: 1656678550

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Devops tool Jenkins now requires Java 11: This might sting a bit

(2022/07/01)


It has taken a while, but the Jenkins project confirmed this week that Java 11 will be required from this week's Jenkins 2.357 and for the upcoming September LTS release.

Jenkins, originally authored by Kohsuke Kawaguchi, recently passed its 10th anniversary. Originally known as [1]Hudson , before the Oracle / Sun deal resulted in a fork, the platform is a veteran of the continuous integration and continuous delivery world. It is also written in Java.

It's going to be a bit of a wrench. Java 11 itself was released in 2018 as a long-term support version, and the Jenkins LTS core has been Java 11-capable for a while now. The June LTS also supports Java 17 (the latest LTS of Java SE.)

[2]

It means a fond farewell to Java 8, which was released in 2014. A shame, since although the Java world has moved on, it looks like Java 8 will continue to see vendor [3]support as long as 2030 .

[4]

[5]

"While the Jenkins project could remain on Java 8 for the foreseeable future, this would be imprudent," [6]noted the team . And rightly so - several third-party libraries consumed by Jenkins need later versions and sticking with 8 would result in a decline of updates from upstream projects.

[7]Jenkins warns of security holes in these 25 plugins

[8]You need to shift millions of repos to AWS without any downtime. How? Bitbucket engineering chief tells all

[9]JavaScript, GitHub, AWS crowned winners in massive survey of 32,000 developers

[10]JetBrains shoves TeamCity into the cloud, pitches Kotlin for build pipelines because YAML is 'really a pain'

The problem is that a shift from Java 8 to 9 and beyond presented many developers with all manner of challenges, from technical (in terms of language and runtime changes) to legal (thanks to licensing policies.) Work on support for Java 11 began in 2018 and, finally, with this week's release Jenkins formally requires that Java version.

How one programmer's efforts to stop checking in buggy code changed the DevOps world [11]READ MORE

Java 17 is lurking in the background, and the Jenkins team [12]noted "Java 17 support in Jenkins is brand new, and it has not yet reached a stage of rapid adoption within the Jenkins community."

"Nevertheless," it went on, "our experience has been that Java 17 is usually a more reliable choice than Java 11," and urged the community to get cracking with it. "We can say with confidence that the migration from Java 11 to Java 17 will not be nearly as painful as the migration from Java 8 to Java 11."

Painful indeed, but also ongoing for a few years and culminating in this week's release and subsequent LTS. ®

Get our [13]Tech Resources



[1] https://www.theregister.com/2018/11/09/jenkins_interview/

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2Yr8aHjXR3ipccktfq9UengAAAMM&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[3] https://www.oracle.com/java/technologies/java-se-support-roadmap.html

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Yr8aHjXR3ipccktfq9UengAAAMM&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Yr8aHjXR3ipccktfq9UengAAAMM&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

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

[7] https://www.theregister.com/2022/06/30/jenkins_plugins_security_advisories/

[8] https://www.theregister.com/2021/11/03/atlassian_aws/

[9] https://www.theregister.com/2021/07/16/jetbrains_developer_survey_2021/

[10] https://www.theregister.com/2021/04/29/jetbrains_takes_teamcity_to_cloud/

[11] https://www.theregister.com/2018/11/09/jenkins_interview/

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

[13] https://whitepapers.theregister.com/



Thankfully it doesn't matter much in practice

pip25

Just because Jenkins itself runs on Java 11/17, it can still launch builds with arbitrary JDK versions available on the machine (or on the slave node running the build). Unless your Jenkins uses some very special plugins that break because of the upgrade, most users should not be significantly affected.

Re: Thankfully it doesn't matter much in practice

LDS

I encountered a problem with building nodes when using Java 11 instead of 8.

If you use Java Web Start to configure them, it no longer works with Java 11 because that feature has been removed. You'll need to switch to SSH.

Go away! Stop bothering me with all your "compute this ... compute that"!
I'm taking a VAX-NAP.

logout