Downloading Source code

Andrew Hughes gnu.andrew at
Wed Jan 6 17:54:32 UTC 2016

----- Original Message -----
> On 30/12/15 11:09, Andrew Haley wrote:
> > On 30/12/15 09:46, Wang Weijun wrote:
> >> I suppose when you said download manager friendly it means you can easily
> >> resume a broken download.
> >
> > You can't do better than hg for that purpose.  It automatically
> > resumes a broken download.
> This will result in 5 times the network traffic. For a person who is not
> interested in historical data it will be the least optimal solution.
> Unfortunately does not offer a source bundle download
> any more.

It does.

$ wget -v -O root.tar.bz2
$ wget -v -O hotspot.tar.bz2
$ wget -v -O langtools.tar.bz2
$ wget -v -O jdk.tar.bz2
$ wget -v -O corba.tar.bz2
$ wget -v -O jaxp.tar.bz2
$ wget -v -O jaxws.tar.bz2
$ tar xjf root.tar.bz2
$ mv jdk9-* openjdk
$ tar -C openjdk -xjf hotspot.tar.bz2
$ tar -C openjdk -xjf langtools.tar.bz2
$ tar -C openjdk -xjf jdk.tar.bz2
$ tar -C openjdk -xjf corba.tar.bz2
$ tar -C openjdk -xjf jaxp.tar.bz2
$ tar -C openjdk -xjf jaxws.tar.bz2
$ mv openjdk/hotspot-* openjdk/hotspot
$ mv openjdk/langtools-* openjdk/langtools
$ mv openjdk/jdk-* openjdk/jdk
$ mv openjdk/corba-* openjdk/corba
$ mv openjdk/jaxp-* openjdk/jaxp
$ mv openjdk/jaxws-* openjdk/jaxws

That's pretty much how IcedTea did it for years before switching to pre-built drops, which
allow better compression and off-line testing.

If you don't want OpenJDK 9, change the path to the appropriate one
(e.g. It's a bit convoluted but could easily
be put in a script.

You can also use tags e.g.

$ wget -v

to get jdk8u76-b02 instead of 'tip'.

wget accepts -c if your download is interrupted.

Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (

PGP Key: ed25519/35964222 (hkp://
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

PGP Key: rsa4096/248BDC07 (hkp://
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

More information about the jdk8u-dev mailing list