Build OpenJDK 8 on MacOS Mojave (10.14.3)
Andrew John Hughes
gnu.andrew at redhat.com
Fri Mar 22 00:51:22 UTC 2019
On 21/03/2019 15:49, Erik Joelsson wrote:
> I don't think anyone has tried. Just removing the check in configure
> should be simple enough, but I suspect there will be lots of follow-on
> On 2019-03-21 03:05, Langer, Christoph wrote:
>> 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 , 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
>>  https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms
Yes, I generally think such version checks are a bad idea, as they only
serve to hide the real errors.
What are the versions of LLVM & clang on Mojave? We may be able to look
at some issues on Linux with the same compiler.
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the build-dev