This is maven, so, yes, this is being done as part of our product build and we redistribute all of it. We just pre-download the JRE and put it on a local server so we don't lose it. My pom for the feature downloads and extracts the JRE from there as part
of the generate-resource phase.
Mind you, we don't change JREs very often. If you're trying to keep up with the latest JREs then I'm not sure Oracle's interface will allow that.
Doug.
Hi,
In the past Oracle's licensing terms (as I understood them) forbid automatic downloads of the JRE/JDK or redistribution in a more convenient format. However you can include it as part of your application. I am not sure if things have changed since
I last looked. The latest hudson version still has the automatic jdk install disabled with a note to the same Hudson-9016 bug referenced in the blog post. The Jenkins build server does have this support enabled - essentially it programmatically navigates the
oracle website using your oracle developer network credentials.
Simon