Project JDK7

Goal: To be able to build jdk7 build 147 (current release on project start).

Notes

  • JDK7 is a *huge* project with a lot of files to compile so it might be smart to build under /tmp

Bundle: http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip

Work Log

2012-01-11

The bundle doesn't contain all required source bundles (!) so it has to be allowed to download them. With the proxy in place on the buildfarm it fails to download resources over HTTPS so edit jaxws/jaxws.properties and replace "https" with "http".

Command to build it on unstable10x:

(time 
ALLOW_DOWNLOADS=true ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=3128" \
ALT_FREETYPE_HEADERS_PATH=/opt/csw/include ALT_FREETYPE_LIB_PATH=/opt/csw/lib ALT_CUPS_HEADERS_PATH=/opt/csw/include \
gmake) 2>&1 | tee ../build.log

Fails with XRender related compilation issues.

2012-01-12

Command to build it on unstable9x

(time 
ALT_BOOTDIR=/usr/jdk1.6.0_20 \
ALLOW_DOWNLOADS=true ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=3128" \
ALT_FREETYPE_HEADERS_PATH=/opt/csw/include ALT_FREETYPE_LIB_PATH=/opt/csw/lib ALT_CUPS_HEADERS_PATH=/opt/csw/include \
gmake) 2>&1 | tee ../build.log
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License