Build OpenJDK 8 on MacOS Mojave (10.14.3)
christoph.langer at sap.com
Thu Mar 21 15:39:05 UTC 2019
that sounds good. Looking forward to your patch(es), maybe we can build upon it...
> -----Original Message-----
> From: jdk8u-dev <jdk8u-dev-bounces at openjdk.java.net> On Behalf Of
> Simon Tooke
> Sent: Donnerstag, 21. März 2019 15:28
> To: jdk8u-dev at openjdk.java.net
> Subject: Re: Build OpenJDK 8 on MacOS Mojave (10.14.3)
> I have (with a couple of small changes) built 8u on the latest macOS +
> XCode. The laptop with that build is at home right now, so I cant
> forward a patch. It was mostly fixing clang debug file generation and
> updating Xcode version checking.
> My build runs fine but crashes on shutdown in
> PerfDataManager::destroy(). Interestingly, it was an issue for some
> people building JDK 9, too ; I suspect it won't be too hard to track
> down, but since it's a weekend project I haven't got to it yet.
> I'll poke at it this evening.
> On 3/21/2019 6:05 AM, Langer, Christoph wrote:
> > 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 , 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
> > 
More information about the jdk8u-dev