Building Java9 on Mac OSX

Erik Joelsson erik.joelsson at oracle.com
Thu May 18 12:27:35 UTC 2017


Hello,

I think you should still be able to install some 7.X version of Xcode 
and IIRC that should work better. I have not yet heard of a successful 
build on Xcode 8.

/Erik


On 2017-05-18 14:21, Dakshinamoorthi, Soundararajan wrote:
> Hi,
>
> I am trying to build java9 in mac OS X Sierra (10.12). As per the building.md, we need Xcode 6.3 to be installed to build JDK. But this version of the OS doesn’t seem to support it. So i installed the latest Xcode (8.3).  The error i get when running make is
>
> “Unable to find <JavaNativeFoundation/JavaNativeFoundation.h>
>
> I tried tweaking the -iframework and -F options to the one that is realistically available in the machine . i.e /APplications/Xcode.app/….., but still no good.
>
> Any help is much appreciated.
>
> BR,
> Soundararajan




More information about the build-dev mailing list