Building Java9 on Mac OSX

Lennart Börjeson lenborje at gmail.com
Thu May 18 12:33:59 UTC 2017


Have you installed the Command Line Tools for XCode? That package is essential.

If you haven’t installed it, you can get it by the command:

sudo xcode-select --install


> 18 maj 2017 kl. 14:21 skrev Dakshinamoorthi, Soundararajan <DakshinS at advisory.com>:
> 
> 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