There is some relevant discussion in https://issues.jenkins-ci.org/browse/JENKINS-54305 <https://issues.jenkins-ci.org/browse/JENKINS-54305> that may be interesting to you.
> On Feb 22, 2019, at 09:20, Sverre Moe <sverre....@gmail.com> wrote: > > Now that Oracle has shut down any commercial use of their JDK, Jenkins should > add option to download JDK from AdoptOpenJDK > > Install automatically > Extract *.zip/*.tar.gz > Install from java.sun.com > Run Batch Command > Run Shell Command > > Now that the JDK from Oracle cannot be used in production we need another > source. > > Install from AdoptOpenJDK > https://adoptopenjdk.net/ > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/6a0fc33b-e4b4-4c06-9674-2c49218617fe%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/6a0fc33b-e4b4-4c06-9674-2c49218617fe%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/F73F02E0-BB6A-4701-9589-58FB81676001%40cloudbees.com. For more options, visit https://groups.google.com/d/optout.