I use Windows7 64bit in VMware Fusion on a MacBook Air 1.8 GHz Intel Core i7, 4GB, Mac OS X 10.7.5. The image uses 1 processor core and 2048 MB of memory.
From http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express, Filename: wdexpress_full.exe
(only C++ is needed), install it without optional products (ie without Silverlight or MS SQL 2008 Express SP1).
go to http://go.microsoft.com/?linkid=9709949 to download VC++.
Make sure to download the correct file. This will be needed to compile Freetype2 later on.
From http://www.microsoft.com/en-us/download/details.aspx?id=8279, Filename: winsdk_web.exe
(Silverlight was also installed as part of this installation, but don't install the samples and .Net tools)
From http://www.microsoft.com/en-us/download/details.aspx?id=6812, Filename: DXSDK_Jun10.exe
In case the above link has changed (Microsoft moves their web links around), then try the below link (search for the term "dxsdk"):
The Microsoft Download Centre search page can be found at
The DirectX SDK installation program can be search from here.
Open a cmd shell and type:
C:\WINDOWS\system32\cmd.exe /E:ON /V:ON /K "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /xp /x64
If you see:
Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.1\. Targeting Windows XP x64 Release
then your compilers are ok.
From http://www.microsoft.com/en-us/download/details.aspx?id=4422, Filename: VC-Compiler-KB2519277.exe
You may want to perform the sanity check again to make sure that all needed compilers are available
From http://www.oracle.com/technetwork/java/javase/downloads/index.html, Filename: jdk-7u15-windows-x64.exe in case you using a 64bit Windows installation.
This is needed as a bootstrap JDK to build the OpenJDK.
Apache Ant installation is no longer required with the new OpenJDK build process, instructions have been archived.
From http://sourceforge.net/projects/freetype/files/latest/download?source=files, Filename: ft2410.zip
Note: the Freetype2 version downloaded from the above link maybe be different (later) than the one mentioned in this section. Version numbering appearing in the instructions in this section and the ones following below, are highlighted so to bring awareness that it needs to be adjusted in line with the downloaded version number of the Freetype2 binary/archive.
In the C:\OpenJDK\freetype-2.4.10\build\ folder, make a copy of the Win32 folder (if one exists) and call it Win64 for Windows 64 binaries.
(Screenshots to be added)
Exclude directories like C:\OpenJDK and C:\cygwin from your anti-virus scanner, by adding them to the white list maintained by your Anti-virus program.
This might be related to the Access denied problem, and probably varies between different anti-virus products. At the moment I recommend to exclude the following file types from realtime scanning:
From http://www.microsoft.com/en-us/download/details.aspx?id=29851, Filename: EMET Setup.msi
In case the above link does not work, please visit the Microsoft Download Centre at http://www.microsoft.com/en-us/download/default.aspx and search for the term "EMET".
This is needed if you experience strange hangs when building your OpenJDK. (That solved it for me under Windows 7)
( Screenshots to be added )
Note: the above step seems to stop IntelliJ from starting so please be mindful if you are using IntelliJ, either do not use this step or revert it if you experience the mentioned issue. As of the writing of this step we do not have a direct solution to the problem.
Note: ensure that after rebooting the system the windows\systems32 directory is still in the $PATH of Cygwin, to avoid any commands to fail. One of the windows installation program might have take it off from the path.
Start a cygwin shell using the desktop icon (in my case it is configured to do 'C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -')
$ cd /cygdrive/c/OpenJDK/jdk8_tl $ bash configure --with-freetype=/cygdrive/c/OpenJDK/freetype-2.4.10/win64 --with-msvcr-dll=/cygdrive/c/Program\ Files/Java/jdk1.7.0_15/bin/msvcr100.dll $ make
$ make clean images
Feedback and/or corrections are welcome. (@reinhapa or @ohumbel). Alternatively also refer to Ludovic Hochet's blog.