# Jenkins Java 8 best LTS version before switching to Java 11 or 17

**URL:** <https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982>\
**Category:** Ask a question\
**Created:** [July 11, 2022, 2:12pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982 "2022-07-11T14:12:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [July 11, 2022, 2:12pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/1 "2022-07-11T14:12:58Z")

</div>

Hello Jenkins Community,  
Quick question on the LTS versions that still use Java 8.  
As follows please:

I noticed weekly releases and future LTS versions, will soon require Java 11 or 17.  
SEE [Java requirements](https://www.jenkins.io/doc/administration/requirements/java/)

Question:  
I work on a large team that cannot switch to Java 11 or 17, yet.  
We need to upgrade our Jenkins to the best Java 8 - supported LTS version.  
What is the MOST STABLE LTS version (opinions?) that uses Java 8?  
Very important that I get the most stable 1.8 LTS version…

Thanks.  
John Dove

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [July 11, 2022, 5:58pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/2 "2022-07-11T17:58:35Z")

</div>

> [@jodove](#):
>
> Question:  
> I work on a large team that cannot switch to Java 11 or 17, yet.  
> We need to upgrade our Jenkins to the best Java 8 - supported LTS version.  
> What is the MOST STABLE LTS version (opinions?) that uses Java 8?  
> Very important that I get the most stable 1.8 LTS version…

It depends on how you define stability. If your definition of “most stable LTS” is “the oldest LTS release that has no open security advisories”, then Jenkins 2.332.4 is the “most stable LTS”. If your definition of “most stable LTS” is “the most deeply tested LTS release”, then Jenkins 2.346.1 is the “most stable LTS”. If your definition of “most stable LTS” accepts known security issues, then you could choose a version older than 2.332.4.

Both Jenkins 2.332.4 and Jenkins 2.346.1 support Java 8.

The next LTS baseline (expected to be released in September) will require Java 11. Start the process to move your organization to Java 11. See the blog post

> **[Jenkins requires Java 11 or newer](https://www.jenkins.io/blog/2022/06/28/require-java-11/)**
>
> Beginning with Jenkins 2.357, Jenkins requires Java 11.

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [July 11, 2022, 6:19pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/3 "2022-07-11T18:19:31Z")

</div>

Mark,

Thank you for the quick reply and advice on this.

I will report back to my team with this news.

Thanks again,

John Dove

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [July 11, 2022, 6:30pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/4 "2022-07-11T18:30:53Z")

</div>

> [@MarkEWaite](#):
>
> Start the process to move your organization to Java 11. See the blog post

> > > Start the process to move your organization to Java 11. See the blog post

Understood.

I will let them know.

---

<div class="post-metadata">

**Author:** ![Ian\_W](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@Ian\_W](https://community.jenkins.io/u/Ian_W)\
**Post date:** [July 12, 2022, 4:13am UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/5 "2022-07-12T04:13:17Z")

</div>

Just to clarify, the Java 11 requirement is only for the runtime for the Jenkins binary (and agents).

Users should still be able to build Java 8 (or other) jobs using proper Global tool [configurations](https://m.youtube.com/watch?v=qx3XK82BZPk) ([OpenJDK](https://plugins.jenkins.io/adoptopenjdk/) or [Oracle](https://plugins.jenkins.io/jdk-tool/) ).

Or you also use [Maven toolchains](https://maven.apache.org/guides/mini/guide-using-toolchains.html) for multiple jdk.

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [July 12, 2022, 12:57pm UTC](https://community.jenkins.io/t/jenkins-java-8-best-lts-version-before-switching-to-java-11-or-17/2982/6 "2022-07-12T12:57:19Z")

</div>

Understood.

Thank you Ian.

We are using toolchains.

Thanks.

~ John
