Access Keys:
Skip to content (Access Key - 0)
Attachments: • Added by Mike Swingler, last edited by Brian Beck on Feb 21, 2013  (view change)
  • None


  • Pass all appropriate certification tests for Java SE 7
  • Include a complete, native Cocoa-based UI Toolkit
    • DONE.
  • Provide excellent performance
  • Integrate into main-line OpenJDK 8 
    • DONE. OS X is now 'just another platform' in OpenJDK 8

Minimum requirements to run

Note that only Mac OS X 10.7.3 and higher will be an Oracle-supported platform. It should continue to run on 10.6.8+ but that is not guaranteed. As of 1-Jan-2012 there are no plans to introduce 10.7-only APIs into the codebase.

Prerequisites to build

  • X11
    • On OS X 10.8 Mountain Lion: XQuartz
    • On OS X 10.7 Lion: Run /Applications/Utilities/ to install as an additional download

JTReg is not required to build but useful for running regression tests

1. Get the code

2. Build

Java 7 or higher installed
Using Apple's Java 6

* Steps for incremental building

3. Smoke Test

4. Install

5. Run

If you have the Java Developer Package installed:

6. Test

Download jtreg to run the tests in the /jdk/test directory.


File new bugs at Please check out the bug reporting guidelines if you haven't filed against the project before.


Please join the macosx-port-dev mailing list and ask!

See something wrong on this page? Fix it!


  1. Sep 23, 2012

    The "Get the Code" sections lists the commands for fetching the source. I can build when I use this command. But when I try to update the source, by doing a pull instead of a clone, the resulting source will not build. Can someone add the correct commands for updating the source? Fetching and building the entire corpus every time seems unnecessary.

    1. Oct 04, 2012

      It turns out that the answer is too simple to have been documented. Just execute the script again. There is no step 3, or even a step 2...

  2. Dec 03, 2012