cancel
Showing results for 
Search instead for 
Did you mean: 

Does Jenkins support Java17

0 Kudos
609

Recently we are upgrading from Hybris 2005-2205. We have also included OpenJDK-17 in our Jenkins JDK list.

But Jenkins is throwing error

We cannot run Java, please ensure you have Java installed.

[2022-12-29T13:52:49.234Z] We have tried to execute /var/jenkins_home/tools/hudson.model.JDK/JDK17/jdk-17.0.2/bin/java but failed.

[2022-12-29T13:52:49.234Z] If you have installed Java in a unusual place you can set JAVA_HOME

I want to know whether if Java 17 is supported by Jenkins.

Accepted Solutions (0)

Answers (1)

Answers (1)

adiputera
Active Participant
0 Kudos

Jenkins does support Java 17, you can read it https://www.jenkins.io/blog/2022/03/21/java17-preview-availability/

Maybe check your Jenkins version?