So, I have tried everything that I know of possible. I ran an export CLASSPATH=/path/to/bin/classes
, and it still isn't able to find the output. I've tried running the command from $PWD/bin/classes
, the project's root, and STILL am having troubles getting this to work properly. I have the latest version of the ndk (r8-1 at the time of this writing) and the sdk as well. Generating header files via command line, etc.
So far, I've seen Javah error while using Jni, as well as another question which specified the same problem and received the same answers.
I'm running Arch Linux (Archbang, specifically) in x86_64.
Here's my invocation and output (executed from $PROJECT_ROOT/bin/classes
):
javah -d ../../jni com.example.fibonnacinative.libfib
Error: Could not find class file for 'com.example.fibonnacinative.libfib'
I've tried with the -classpath
, -verbose
, etc. flags and neither appear to help. -classpath
just spits out the same error, and -verbose
does not give me any information apart from the output I've posted.
Halp?