Book Image

OpenJDK Cookbook

Book Image

OpenJDK Cookbook

Overview of this book

Table of Contents (20 chapters)
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Building 64-bit OpenJDK 6 on Windows 7 x64 SP1


The amd64 build on 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 a much bigger address space size, Cygwin fork techniques work much slower and are less reliable.

Visual Studio.NET 2003 does not support the amd64 architecture so the Windows Server 2003 SP1 Platform SDK is used instead.

Getting ready

For this recipe, we should have Windows 7 SP1 i586 running with no antivirus software installed. Antivirus software is not allowed because it may interfere with the Cygwin runtime.

How to do it...

The following steps will help us to build OpenJDK:

  1. Download the Windows Server 2003 SP1 Platform SDK from the Microsoft website and install it using the default installation path. AMD-64 and MDAC (Microsoft Data Access Services) components are required for the build.

  2. Perform steps 2 to 11 from the Building 32-bit OpenJDK 6 on Windows 7 SP1 recipe...