Build OpenJDK 8 on MacOS Mojave (10.14.3)

Langer, Christoph christoph.langer at sap.com
Thu Mar 21 10:05:54 UTC 2019


Hi,

the Mac experts will probably find my question to be silly and start laughing… but nevertheless, I’m asking it here ��

I was looking into building OpenJDK 8 today on my developer Mac, which runs Mojave (10.14.3). configure immediately tells me, I need Xcode 4. So I was trying to install xcode 4.6.3 – but seems this wouldn’t run on Mojave. What can I do?

Ok, on the build requirements page [0], the requirements are documented to be MacOS 10.7 (Lion). However, I’m thinking, since OpenJDK 8 is not completely legacy yet, at least a developer build should be possible on a current operating system. I would accept having to install the oldest running Xcode compiler for sure, but not at all being able to build on a recent MacOS is not good.

So, question to the experts: Will it be impossible to bump the build environment because changes would be too complex? Or is there a solution to this which I’m just not aware of?

Thank you and Best regards
Christoph

[0] https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms



More information about the build-dev mailing list