JDK7 build on mac os fails: JavaNativeFoundation.h: No such file

Staffan Larsen staffan.larsen at oracle.com
Sat Dec 29 14:48:05 UTC 2012


Can you find JavaNativeFoundation.h under /System/Library/Frameworks/JavaVM.framework/ somewhere? For me it is in /System/Library/Frameworks//JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/Headers/JavaNativeFoundation.h

If it isn't there, maybe installing a version of Apple's Java will add it? Or perhaps it is "Java for OS X 2012-006 Developer Package" from  https://developer.apple.com/downloads/index.action?name=Java%20Developer# that is needed. I remember vaguely installing something like this a long time ago, but can't remember exactly how this fit together...

/Staffan

On 27 dec 2012, at 17:41, mikhail cherkasov <mikhail.cherkasov at oracle.com> wrote:

> David,
> I use OSX 10.7.5.
> I installedX11 package. <http://xquartz.macosforge.org/landing/> But the build failed with the same error again:
> http://dl.dropbox.com/u/23235695/build2.log - this log for jdk8
> without closed part, but  I also tried to build jdk7 and received
> the same error too.
> 
> 27.12.2012 18:21, David Chase ?????:
>> On 2012-12-27, at 7:41 AM, mikhail cherkasov <mikhail.cherkasov at oracle.com> wrote:
>> 
>>> I have installed all software from the following list:
>>> http://wiki.se.oracle.com/display/JPG/Build+JDK+on+Mac+OS+X#BuildJDKonMacOSX-System
>>> I not sure about X11 -does it require separate installation?
>> Yes, X11 requires separate installation.
>> I think you need to get it from here,
>> 
>> http://xquartz.macosforge.org/landing/
>> 
>> though
>> the definitive answer on "where to get it"
>> and "where it gets installed" depends on
>> which version of MacOS you are running.
>> (I saw 10.7 in your logs.)
>> 
>> 
>> 
> 




More information about the build-dev mailing list