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 7 on Ubuntu Linux 12.04 LTS


This recipe is similar to recipe Building OpenJDK 6 on Ubuntu Linux 12.04 LTS from Chapter 2, Building OpenJDK 6.

The build process of OpenJDK relies heavily on Unix-like development tools. Linux-based operating systems usually have top notch support for such tools, so building OpenJDK on Linux (and on Mac OS X) can be simpler than on Windows. For major distributions such as Fedora or Ubuntu, the build toolchain and all the dependencies are already included in distributions as packages and can be installed easily.

Ubuntu 12.04 LTS was chosen for this book because it is one of the most popular Linux distributions. For readers running other operating systems, Ubuntu 12.04 virtual images may be found online for the most popular virtualization tools, such as Oracle VirtualBox or VMware.

To build binaries for i586 and amd64 architectures, corresponding versions of Ubuntu should be used. The build instructions are exactly the same for both architectures...