0

After installing Java 7, All of sudden xcode failed to compile my project saying jni.h file not found error. I've tried by removing java 7 manually with 'rm' command. If I provide compiler flags in xcode project build setting with the path : "-I/System/Library/Frameworks/JavaVM.framework/Headers/" , it compiles fine. My system is Mac OSX 10.9.

1 Answer 1

0

I had a similar problem while installing soprano from Macports. I think you have to install the command-line tool from Xcode. Use the terminal and "xcode-select --install" (w/o quotation marks). This worked fine for me. I hope this is helpful for you, too.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.