allow compile apple api in windows

Alan Bateman Alan.Bateman at
Sun Oct 27 11:24:00 UTC 2013

On 27/10/2013 05:07, Abu Abdullah wrote:
> Hi,
> I cannot compile code with MAC OS api in windows e.g.*
> is there a reason to remove it from windows JDK

To my knowledge, this API has always been Mac OS X specific. It was 
included in Apple's JDK and came into OpenJDK when the Mac port was 
added. So I don't think you can compile against the Windows JDK as the 
classes don't exist. There was a lengthy thread about it over the summer 
on macosx-port-dev so you might want to check the mail archives (my 
recollection is that there were a few replies from folks that used stubs 
or other means to workaround it).


More information about the discuss mailing list