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 ...

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.