Apr 3, 2018

Unable to install JDK unless a valid username/password is provided

You can set the default credentials for Oracle here:

 http://<hostname>/descriptorByName/hudson.tools.JDKInstaller/enterCredential
hostname being your Jenkins URL.