Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to obtain JRE programmatically? eg via http or ftp

843798Feb 21 2005 — edited Feb 22 2005
hi,

as part of our product build process we need to obtain java run-times for win, sol and linux, and of many versions and minor releases.

At the moment we do this by hand installing the JRE and rezipping and various other forms of munging (all within the redistribution license agreement)

does anyone know of a way that we could get this to happen as part of an ant script?

the equivalent problem with eclipse can be solved just by grabbing the distributed .zip file and processing that eg with the ant GET task - this isn't possible with the downloads of java since they come wrapped in an InstallShield wizard, and also because the URLs are randomly generated (presumably to ensure you've been through the click-through license)

thanks,
asjf
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2005
Added on Feb 21 2005
3 comments
230 views