Skip to main content
Last updated November 21, 2014 20:01, by Patrick Reinhart
Feedicon  

Build on Windows


Download and install Windows SDK 7.1

(There is no need for the samples and .Net tools)

From http://www.microsoft.com/en-us/download/details.aspx?id=8279

Download and install Microsoft DirectX 9.0 SDK

From http://www.microsoft.com/en-us/download/details.aspx?id=6812

Download and install Java 8

(if not already done)

From http://www.oracle.com/technetwork/java/javase/downloads/index.html

Download the Freetype source (2.5.3)

From http://sourceforge.net/projects/freetype/files/freetype2/2.5.3/ft253.zip/download

and extract within the Babun shell:

 » cd /cygdrive/c/openjdk
 » unzip $USERPROFILE/Downloads/ft253.zip

Configure and run make

Open a Babun shell:

 » cd /cygdrive/c/openjdk/jdk9/
 » bash configure --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3
 » make images

Test it out

Once done, open a new standard Windows console and navigate to

 C:\openjdk\jdk9\build\windows-x86_64-normal-server-release\images\j2sdk-image

Check that java runs:

 bin\java -version

or for something a bit more visual:

 bin\jconsole

Congratulations!

Day to day refresh

Do the following in a Babun shell:

 » cd /cygdrive/c/openjdk/jdk9
 » ./get_source.sh 
 » bash configure --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3
 » make clean images

Got feedback or questions?

Feedback and/or corrections are welcome (@reinhapa or @ohumbel). Alternatively also refer to Ludovic Hochet's blog

Next Step

 
 
Close
loading
Please Confirm
Close