[Solved] JNI make error 2

Hello,

I’m trying to use JNI but I can’t manage to get it working. I’m following this little tutorial, but I’m stuck at the ‘Generating C/C++ Header File’. When I try to build using the makefile, I get an error in Eclipse. I have tried googling but couldn’t find anything useful (except for some vague ‘fixing program’ (link)).

The only information Eclipse gives me is this:

Description Resource Path Location Type
make: *** [HelloJNI.h] Error 2 HelloJNI C/C++ Problem
recipe for target ‘HelloJNI.h’ failed makefile /HelloJNI/jni line 9 C/C++ Problem

Anyone has experience with JNI and knows how to fix this / how I should do it instead? ???