-
Bug
-
Resolution: Duplicate
-
Blocker
-
All
As of today, all of our java 10 builds no longer work (they did yesterday).
In our pipeline we have:
stage('Build') { tools { jdk 'JDK10' } }
And at runtime
Java version: 9.0.4, vendor: Oracle Corporation, runtime:
is ultimately being used.
I noticed in the JDK tools provided config in the jenkins admin pane that jdk 10 is no longer an option. Latest is now 9.0.4, which I presume is the root cause.
Is there anything that can be done at the plugin provider level, or is this something Oracle related or licensing?
- duplicates
-
JENKINS-54305 Oracle JDK 10 not available anymore - Oracle JDK 11 is not free
-
- Resolved
-
The problem is that the layout of Oracle's website has changed, which broke the crawler on the Jenkins infra side. See
JENKINS-54305for additional details, in short, we want to deprecate the current jdk tool entirely, and to perhaps replace it by using AdoptOpenJDK.For now, the only workarounds I know of are to preinstall the JDK on your agents so you don't need to use Jenkins to install the JDK, or to use the "Run Shell Command" installer method instead of "Download from java.sun.com" and run something like "apt-get install openjdk11" or similar.
I am a little surprised that you only started seeing this today, and not earlier, but maybe it coincided with an update on your side?