# Issue with Jenkins Java version please advise

**URL:** <https://community.jenkins.io/t/issue-with-jenkins-java-version-please-advise/22389>\
**Category:** Ask a question\
**Tags:** question\
**Created:** [October 25, 2024, 6:43am UTC](https://community.jenkins.io/t/issue-with-jenkins-java-version-please-advise/22389 "2024-10-25T06:43:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 26, 2024, 2:04pm UTC](https://community.jenkins.io/t/issue-with-jenkins-java-version-please-advise/22389/4 "2024-10-26T14:04:49Z")

</div>

Refer to the answer and the tutorial video at:

> [@How to use two different versions of JDK](https://community.jenkins.io/t/how-to-use-two-different-versions-of-jdk/5856):
>
> We have a Jenkins controller and 3 agents (one of each application). I have multiple pipelines to deploy 3 different Java/J2EE legacy applications. They are not microservices applications. Jenkins & the applications currently uses Java 1.8. We are in the process of upgrading one of the application to Java version 11. How do I run Jenkins on two version of Java (8 & 11)? Can I have Java 1.8 in the controller and Java 11 in an agent?

---

_[View the full topic](https://community.jenkins.io/t/issue-with-jenkins-java-version-please-advise/22389)._
