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


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 can be simpler than on Windows. For major distributions such as Fedora or Ubuntu, build toolchain and all 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 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. Build instructions are exactly the same for both architectures, so they won't be mentioned further in this recipe.

Getting ready

For this recipe, we will need a clean Ubuntu 12.04 (server or desktop version) running...