Building on Mac

Peter Zhelezniakov Peter.Zhelezniakov at
Mon Mar 18 06:56:42 UTC 2013

On Mar 18, 2013, at 3:41 AM, David Holmes <david.holmes at> wrote:
> Are you trying to build OpenJDK or Oracle JDK?

Oracle JDK -- I have jdk/make/closed and jdk/src/closed.

I've parsed the output of --debug-configure, and realised I need the --enable-macosx-runtime-support option. With this option, configure requires neither X11 nor freetype. However, the build still fails without X headers. So the complete command line that led to successful build for me was:

bash ./configure \
--x-includes=/Applications/ \
--x-libraries=/Applications/  \


More information about the build-dev mailing list