OpenJDK Workspaces: prebuilt tarballs of OpenJDK Mercurial repositories for quick and easy checkouts


These tarballs are automatically generated from the OpenJDK repositories at hg.openjdk.java.net. Seeding the local copy with these tarballs is usually much faster than Mercurial transfer from US West coast, especially if you are in Europe, especially if you are checking out the large monorepo JDK 10+. This provides the stop-gap way to clone OpenJDK repositories until clonebundles extension is enabled on OpenJDK Mercurial servers. Call your representative and demand it now.


If you do not need the Mercurial repository, and just want to build the latest source snapshot of the project, consider taking the source snapshot then. It would be even faster to transfer, and would not require Mercurial installation on the target system.


Archive names are derived from the names of the tracked repositories. Tarballs are updated at least weekly, using the workspace-pack-*.sh scripts below. Don't forget to "hg pull" to get the latest changesets after unpacking the tarball. By default, the archive contains only the Mercurial metadata, use "hg update" to materialize the working copy.


Builds require a few build dependencies. Configure script usually tells what dependencies to install on the concrete OS flavor. On recent Debian/Ubuntu, this should be enough:


$ sudo apt install build-essential libx11-dev libxext-dev libxrender-dev \
                   libxtst-dev libxt-dev libcups2-dev libfontconfig1-dev \
                   libasound2-dev libfreetype6-dev libpng-dev

Example to checkout and build JDK 8u or derivatives:


$ curl https://builds.shipilev.net/workspaces/jdk8u-jdk8u.tar.xz | tar xJf -; \
  cd jdk8u-jdk8u; \
  hg pull; hg up; \
  sh common/bin/hgforest.sh pull; sh common/bin/hgforest.sh up; \
  sh ./configure \
  make images; \
  build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -version

Example to checkout and build JDK 10+ or derivatives:


$ curl https://builds.shipilev.net/workspaces/jdk-jdk.tar.xz | tar xJf -; \
  cd jdk-jdk; \
  hg pull; hg up; \
  sh ./configure \
  make images; \
  build/linux-x86_64-normal-server-release/images/jdk/image/bin/java -version


Depending on your environment, "configure" might require a few options that deal with compiler warnings on too old or too new toolchains. The #YOLO option is most probably --disable-warnings-as-errors or --with-extra-cflags=-Wno-error.

/workspaces/

File Name  ↓ File Size  ↓ Date  ↓ 
Parent directory/--
MD5SUMS 12572018-Dec-19 15:53
SHA1SUMS 14412018-Dec-19 15:53
aarch64-port-jdk8u-shenandoah.tar.xz 217M2018-Dec-01 11:23
aarch64-port-jdk8u.tar.xz 215M2018-Dec-01 11:19
amber-amber.tar.xz 582M2018-Dec-01 06:55
jdk-jdk.tar.xz 576M2018-Dec-01 04:07
jdk-jdk12.tar.xz 578M2018-Dec-13 23:58
jdk-sandbox-old.tar.xz 584M2018-Dec-01 04:52
jdk-submit.tar.xz 578M2018-Dec-13 22:17
jdk-submit12.tar.xz 578M2018-Dec-14 01:48
jdk-updates-jdk11u.tar.xz 568M2018-Dec-01 11:08
jdk8u-jdk8u-dev.tar.xz 209M2018-Dec-01 11:15
jdk8u-jdk8u.tar.xz 208M2018-Dec-01 11:12
loom-loom.tar.xz 577M2018-Dec-01 07:39
panama-dev.tar.xz 587M2018-Dec-01 09:03
portola-portola.tar.xz 575M2018-Dec-01 12:04
shenandoah-jdk.tar.xz 579M2018-Dec-01 09:45
shenandoah-jdk11.tar.xz 570M2018-Dec-01 10:24
shenandoah-jdk8u.tar.xz 217M2018-Dec-01 10:27
valhalla-valhalla.tar.xz 579M2018-Dec-01 06:15
workspace-pack-hg-10.sh 27902018-Dec-13 23:58
workspace-pack-hg-8.sh 26682018-Dec-01 11:19
zgc-zgc.tar.xz 577M2018-Dec-01 08:22
Яндекс.Метрика