Preparing a standalone toolchain for 32- and 64-bit Windows' builds

In the previous recipes in this chapter, we built OpenJDK 7 for Windows using Windows SDK Version 7.1. This SDK requires installation prior to using it. The installation process requires .NET Framework 2 (to run the installer, included in Windows 7) and .NET Framework 4. Installation of these components may be very time consuming in some usage scenarios. For example, to automated builds it may be desirable to use completely clean Windows images for the builds. Besides being slow, the .NET Framework and SDK installers are graphical tools and may be hard to script for automatic installation.

In this recipe, we will create a set of files and an environment script that can be used ...

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.