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 OpenJDK 8 on Windows 7 SP1


The OpenJDK 8 build process on Windows platform included major improvements compared to Version 7. Despite that, the build environment setup is still much more complex than on Linux and Mac OS X. Much of the complexity of the build comes from its usage of a Unix-like build environment through Cygwin tools.

The official compiler requirement for i586 builds is Microsoft Visual Studio C++ 2010 Professional Edition. The Express Edition of Visual Studio 2010 may also be used for the x86 build. For x86_64 builds, instead of Visual Studio 2010 Professional Edition, we will use the Microsoft Windows SDK Version 7.1 for Windows 7. This SDK is available for free from the Microsoft website. It uses the same compiler as Visual Studio 2010 Express. It contains only the Command Line Tools (no GUI) but may be used as an external toolset from Visual Studio 2010 if GUI is desired.

Getting ready

For this recipe, we should have Windows 7 SP1 amd64 running with no antivirus...