Building 64-bit OpenJDK 7 on Windows 7 x64 SP1

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.

Getting ready

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.

How to do it...

The following procedures will help us to ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.