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 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 build OpenJDK:

  1. 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.

  2. Create a build.bat batch file and write the following...