building 7u on macosx
David DeHaven
david.dehaven at oracle.com
Fri Apr 25 16:41:38 UTC 2014
>>>> Success. I found this post from Arun Gupta:
>>>> https://blogs.oracle.com/arungupta/entry/build_open_jdk_7_on
>>>>
>>>> which specifies this
>>>>
>>>> make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true
>>>> ALWAYS_PASS_TEST_GAMMA=true ALT_BOOTDIR=`/usr/libexec/java_home -v1.6`
>>>> HOTSPOT_BUILD_JOBS=`sysctl -n hw.ncpu`
>>>>
>>>> rather than this
>>>>
>>>> CPATH="/usr/X11/include" LANG=C make ALLOW_DOWNLOADS=true
>>>> ALT_BOOTDIR=`/usr/libexec/java_home -v 1.7+` HOTSPOT_BUILD_JOBS=`sysctl
>>>> -n hw.ncpu`
>>>>
>>>> at https://wiki.openjdk.java.net/display/MacOSXPort/Main
>>>>
>>>> The differences are:
>>>> - At the front, remove: CPATH="/usr/X11/include" LANG=C
>>>> - Add this: SA_APPLE_BOOT_JAVA=true ALWAYS_PASS_TEST_GAMMA=true
>>>
>>> You missed the v1.6 vs v1.7+ on the ALT_BOOTDIR setting. I suspect
>>> that is the real difference.
>> Thanks David, That makes sense. What does -v do? I didn't find a spec
>> describing it. -Pete
>
> I would assume it selects the version of the JDK to run. It's an Apple JDK, or perhaps an OS X software installation, option.
It's synonymous with java_version in applet tags:
http://www.oracle.com/technetwork/java/javase/index-141751.html#JAVA_VERSION
-DrD-
More information about the build-dev
mailing list