How to change the JDK for a Jenkins job?

There is a JDK dropdown in “job name” -> Configure in Jenkins web ui. It will list all JDKs available in Jenkins configuration.

As per @Derek comment below, n newer versions, you can find it in Manage Jenkins -> Global Tool Configuration -> JDK.

Note that you need the “Overall/Administer” permission to manage Jenkins.

Leave a Comment