build jdk9 from source on mac failed

Erik Joelsson erik.joelsson at
Wed Sep 20 21:24:17 UTC 2017

Hello Wei,

Sorry for the late reply but this mail just showed up in my mail client.

This error indicates that you haven't cloned all the repositories. 
Please try running "sh" in the root directory of the top 


On 2017-08-27 06:02, wei wrote:
> Hi,
>    I tried to build jdk9 from source code on Mac OS 10.10, and got following issue at beginning. The dependent Xcode and JDK have been installed.
> I really appreciate if anyone can share the experience on building jdk9 on Mac.
> Building target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-release'
> make[2]: *** No rule to make target `java.base-gensrc-hotspot', needed by `java.base-copy-hotspot'.  Stop.
> make[2]: *** Waiting for unfinished jobs....
> make[3]: BuildHotspot.gmk: No such file or directory
> make[3]: *** No rule to make target `BuildHotspot.gmk'.  Stop.
> make[2]: *** [hotspot] Error 2
> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
> Regards!
> wei

More information about the build-dev mailing list