Can't build Java 7 on my Mac

Andrew ``Bass'' Shcheglov andrewbass at gmail.com
Mon Dec 2 05:32:42 PST 2013


Thank you Magnus.

The build errors I've encountered were coming from Objective-C code
behind Apple's LWAWT implementation,
particularly from functions dealing with HiDPI and multi-display support
(which rely on 10.7+-only API, see
https://github.com/hgomez/obuildfactory/issues/3).

>From the POSIX compatibility perspective, the JDK 7 build system is
completely fine (meaning an Xcode installation plus a few bits of
MacPorts would be more than enough).

So if I were on 10.5.x, I'd consider building an X11 Toolkit instead of
the Cocoa-based one in case the number of build errors grows too high.

As per JDK 8, you need a JDK 7 installed in order to build it, don't you?

Regards,
Andrey.

Magnus Ihse Bursie wrote:
> On 2013-12-02 09:52, Andrew ``Bass'' Shcheglov wrote:
>> Hello,
>>
>> Even if you get to have make in your PATH,
>> you may still be unable to build Java 7 on Mac OS X 10.5.x.
>
> If it's suitable to your purpuses, I'd recommend trying to build JDK 8
> instead of JDK 7. JDK 8 contains a completely new build system which
> hopefully is easier to get to build on Mac OS X. Questions about
> building can be addressed to build-dev at openjdk.java.net.
>
> /Magnus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20131202/a6f95243/attachment-0001.html 


More information about the bsd-port-dev mailing list