The amd64 build in Windows 7 is similar to the i586 build, but has additional complications.
Cygwin (at least the more common i586 version) works much worse on amd64 Windows. Due to the much bigger address space size, Cygwin fork techniques work much slower and are less reliable.
Visual Studio 2010 Express Edition does not support amd64 architecture, so Microsoft Windows SDK version 7.1 for Windows 7 or the Professional Edition of Visual Studio should be used.
For this recipe, we should have Windows 7 SP1 amd64 running with no antivirus software installed. Antivirus software is not allowed because it may interfere with Cygwin runtime.
The following procedures will help us to build OpenJDK:
Follow steps 1 to 10 from the previous recipe, Building 32-bit OpenJDK 7 on Windows 7 SP1, using the amd64 version of the Windows SDK and the FreeType libraries from the
7_64
directory.Create a
build.bat
batch file and write the following...