on 2022 Dec 29 2:09 PM
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.
Request clarification before answering.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
22 | |
16 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.