Last updated: 2015-05-14, fixed JDK image path, Freetype 2.5.5, use cygpaths
- Download and install Windows SDK 7.1 (there is no need for the samples and .Net tools)
- Download and install Microsoft DirectX 9.0 SDK (the ReadMe says the version from summer 2004, however this does not seem to still be available from Microsoft, the version from June 2010 seems to be a working replacement)
- Download and install the Mercurial for Windows
- Download and install Java 8 (if not already done)
- Download and install Babun, then use its package manager to install zip :
pact install zip
- Create a C:\dev\ directory
- Download Freetype source (2.5.5) and extract to C:\dev\freetype-2.5.5
- In the Babun console:
cd /cygdrive/c/dev/jdk9
(use a slash / instead of a back-slash \ ) - Get the root source:
hg clone http://hg.openjdk.java.net/jdk9/jdk9/
- Move to the new directory
cd /cygdrive/c/dev/jdk9
- Get the remainder of the source
./get_source.sh
- Force the permissions
chmod -R u+rwxs .
(otherwise some files get access denied errors) - Run the auto-conf script
bash configure --with-freetype-src=/cygdrive/c/dev/freetype-2.5.5
- Time for cooking
make images
- Once done, open a new standard Windows console and navigate to
C:\dev\jdk9\build\windows-x86_64-normal-server-release\images\jdk
check that java runs:bin\java -version
or for something a bit more visual:bin\jconsole
- enjoy!
- Go to the JDK directory
cd /cygdrive/c/dev/jdk9
- Get the sources updates
./get_source.sh
- Force the permissions
chmod -R u+rwxs .
- Remove the build directory
rm -rf build/
- Rerun the auto-conf script to update the time stamp of the build:
bash configure --with-freetype-src=/cygdrive/c/dev/freetype-2.5.5
- Re-heat
make images