I am trying to install jpype in Mountain Lion. I followed all the steps suggested in this post: How to install JPype on OS X Lion to use with Neo4j?
However, there is a glitch with Mountain Lion. I have modified the setupMacOSX()
function as follows:
/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/JavaVM.framework/
But when I run $ sudo python setup.py install
I get the following error:
src/native/common/include/jpype.h:45:10: fatal error: 'jni.h' file not found
I have located the jni.h header here:
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h
But since jni.h is not part of Mountain Lion, I have not figured out how to modify the setup.py file to fix the bug. Any suggestions?