Installing Cygwin for Windows builds

Like most of the other cross-platform open source projects, OpenJDK uses Unix-like tools for the build process. Tools such as gmake, awk, and cpio are ubiquitous for the Unix and Linux world and may be found on almost any Unix-like platform. However, these tools are based on Unix process behavior, and that becomes a problem when we want to run them on Windows.

Cygwin is a set of free and open source tools being developed by Red Had, Inc. and provides limited support for the Unix-like environment in Windows. It is required to build OpenJDK on Windows.

OpenJDK requires Cygwin i586 for both i586 and amd64 builds. The installation procedure is the same for both Windows 7 SP1 i586 and Windows 7 SP1 amd64 so we won't ...

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.