Manual Installation of JDK Required Due To Oracle’s New Website

Article ID:115002217092
1 minute readKnowledge base
On this page


Using the Jenkins JDK Tool Installer fails when trying to download a previous version of Java. The failure is caused by Oracle’s update of their website. This update breaks the form functionality that is a part of Jenkins core that is responsible for automating the authentication requirement on Oracle’s website.

The console output shows a stack trace similar to:

14:15:21 Installing JDK jdk-8u121-oth-JPR
14:15:21 Downloading JDK from
14:15:29 Unable to find the login form
14:15:29 	at
14:15:29 	at
14:15:29 	at
14:15:29 	at
14:15:29 	at
14:15:29 	at hudson.model.JDK.forNode(
14:15:29 	at hudson.model.AbstractProject.getEnvironment(

The Jenkins community is tracking this issue as JENKINS-47448 .


There are two options:

  • Using the Jenkins JDK Tool Installer to install the most recent version of Java will work as expected since it does not require authentication.

  • If you need a previous version of Java the quickest workaround is to manually install the Java JDK version that is needed on your agents or in your jobs.

The full Java JDK is recommended because it contains additional utilities that are required to generate diagnostic data in the event there are issues with the specific Java process.