Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Bundling JREs with my Product

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.


From: Simon Goodall <simon@xxxxxxxxxxxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Tuesday, 18 June, 2013 10:58 AM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Bundling JREs with my Product


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.


On 18 June 2013 15:30, Laurent PETIT <laurent.petit@xxxxxxxxx> wrote:
2013/6/18 Doug Schaefer <dschaefer@xxxxxxx>:
> Or Google it. I'm using the following I found through a search:
> /
> Doug.

Hello Doug,

I have come across this July 2012 link.
If you think it's the panacea, good for you, but for me it's far from
ideal, and that's why I'm asking for an update on the best way of
doing things currently, e.g. a year later.

Especially, this last bit annoys me a lot, and I'd like to know if
there's a better way:

"The only piece left is to obtain the JRE itself. Unfortunately the
Oracle JRE’s cannot be downloaded direct from Orcale automatically
(see e.g. here) so they must be manually downloaded, installed and the
the jre directory copied across for each version and platform you need
to support."

Seems like repetitive / tedious / error prone work that could be
avoided if there's a central place to put each new public revision of
say open jdk 7.
A maven repo ?
A p2 repository ?
Already done ? Where ?

That's why, among other things, I ask here on the ml, to humans, and
not just the google bot.


tycho-user mailing list

Back to the top