Fwd: JDK build on Mountain Lion

Kelly O'Hair kelly.ohair at oracle.com
Fri Jul 27 17:48:40 UTC 2012

Some interesting information on anyone trying to build OpenJDK on Mountain Lion...  10.8 I assume.


Begin forwarded message:

> From: Naoto Sato <naoto.sato at oracle.com>
> Subject: JDK build on Mountain Lion
> Date: July 27, 2012 9:52:02 AM PDT
> To: Kelly O'Hair <kelly.ohair at oracle.com>
> Cc: JAVA_I18N_WW_grp at oracle.com
> Hi Kelly,
> This is just fyi. I just upgraded my MBP to Mountain Lion, and tried to build JDK8 on it. Obviously, Apple removed all the X11 stuff from XCode by default and initially it failed somewhere building AWT.
> X11 stuff has been installed when I ran some X11 app (like Java runtime, Apple now installs a stub X11 server which just pops up a message box that urges the user to install 3rd party X11 stuff - XQuarz)
> There is another hiccup with it. That is, the default include search path for the C compiler. Now that the X11 stuff is not included in Mountain Lion, /usr/include/X11 is no longer searched. I had to set it with "CPATH" environment variable. Maybe this is something that JDK build script could help.
> Naoto

More information about the build-dev mailing list