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 Mac OS X


OpenJDK 7 supports the Mac OS X platform as a first class citizen and building it using the proper version of toolchain is almost as easy as on Linux.

Historically, Java had first class support on Mac OS X. JDK was based on Sun codebase but built by Apple and integrated fully into their operating system environment. Up to Mac OS X 10.4 Tiger, graphical user interface applications written using the standard Swing toolkit had access to most of the Cocoa native interface features. Applications written in Java were very close to native ones, while still being cross-platform.

But with the next releases, the level of Java support went down. Starting from Mac OS X 10.5 Leopard, newer Cocoa features became unsupported for Java. Release of Apple Java 6 was postponed (comparing to Sun releases for other platforms) for more than a year. Java 6 was released in December 2006 but was not available for Mac OS X users until April 2008. Finally in October 2010, Apple officially...