Setting up the minimum build environment for the most compatible Linux builds

OpenJDK 6 on Linux was developed for and most excessively tested with those GCC toolchains available at that time. Modern Linux distributions have newer toolchains, for example, Ubuntu 12.04 has GCC 4.6. Newer toolchains may have more advanced optimizations and provide slightly faster code, but older ones should be more stable for OpenJDK.

Oracle published the minimum build environment description for OpenJDK 6. It says:

"Building with the MBE will generate the most compatible bits that install on, and run correctly on, the most variations of the same base OS and hardware architecture."

We are going to build OpenJDK 6 on one of the minimum build environment platforms—Debian ...

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.