cmake build fails on Java header

Ryan Schmidt ryandesign at
Sat Oct 23 11:38:48 PDT 2010

On Oct 23, 2010, at 12:57, JP Glutting wrote:

> I am having a problem building cmake. It fails trying to access jni.h, from the Java headers:
> CMake Error at Tests/CMakeLists.txt:1630 (FILE):
>   file Internal CMake error when trying to open file:
>   /System/Library/Frameworks/JavaVM.framework/Headers/jni.h for reading.
> Has anyone else had this problem after installing the latest Java update form Apple? Is there a fix?

Yes, others are having this problem too. See the issue tracker:

More information about the macports-users mailing list