Chapter 4. Building OpenJDK 8

In this chapter, we will cover:

  • Working with GNU Autoconf
  • Building OpenJDK 8 on Ubuntu Linux 12.04 LTS
  • Using ccache to speed up the OpenJDK 8 build process
  • Building OpenJDK 8 on Mac OS X
  • Building OpenJDK 8 on Windows 7 SP1

Introduction

The Java 8 specification brings a lot of innovations to the Java platform. Besides new language features such as functional interfaces and Lamda expression support, and library features such as streams and a new date/time API, OpenJDK 8 has a new build system. As this chapter is about building OpenJDK, we will explore the last innovation in depth.

For a long time, the Sun Java and OpenJDK build system grew around the release process. Requirements from the release engineers always came before ...

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.