Goals
- Pass all appropriate certification tests for Java SE 7
- Include a complete, native Cocoa-based UI Toolkit
- Provide excellent performance
Prerequisites
- Hardware: Any 64-bit capable Intel Mac
- OS: Mac OS X 10.6, run Software Update to get to at least 10.6.5
- Xcode: 3.2.5 or later from from http://developer.apple.com (Mac Dev Center section)
- Java: "Java for Mac OS X 10.6 Update 3 Developer Package" or later from from http://connect.apple.com (Java section)
- Mercurial: http://mercurial.berkwood.com/
- Jtreg: http://openjdk.java.net/jtreg/
Setup
Install the Mercurial "forest" extension:
Source
Code Block |
---|
Code Block |
---|
cd /tmp
hg clone http://bitbucket.org/pmezard/hgforest-crew/
cp hgforest-crew/forest.py ~/.forest.py
|
Add the following lines to your: ~/.hgrc
Code Block |
---|
[extensions]
hgext.forest=~/.forest.py
|
Source
Code Block |
---|
hg fclone http://hg.openjdk.java.net/macosx-port/macosx-port
cd macosx-port
chmod 755 get_source.sh
./get_source.sh
|
Build
Code Block |
---|
make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true ALWAYS_PASS_TEST_GAMMA=true ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`
|
...