- Loading...
...
JTReg is not required to build but useful for running regression tests
...
| Code Block |
|---|
hg clone http://hg.openjdk.java.net/jdk8/jdk8-dev cd jdk7u-devjdk8 chmod 755 get_source.sh ./get_source.sh |
...
| 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` HOTSPOT_BUILD_JOBS=`sysctl -n hw.ncpu` |
If you are building on Mountain Lion you must also define the path to the X11 includes:export CPATH="/usr/X11/include"* Steps for incremental building
| Code Block |
|---|
build/macosx-universal/j2sdk-image/bin/java -version |
...
| Code Block |
|---|
mkdir -p ~/Library/Java/JavaVirtualMachines cp -R build/macosx-universal/j2sdk-bundle/1jdk1.7.0.jdk ~/Library/Java/JavaVirtualMachines |
...