I'm trying to get a jni header for class B, and class A sits in the same package, right next to it.
Class B contains native functions (for which I need the JNI Header)
and I use the command
javah -jni ClassB -classpath (path to jarfile containing all the classes necessary, including classA)
and I get the response
"Couldn't find class w.x.y.z.ClassA"
Where w.x.y.z is the right package path for classA and classB.
Any suggestions?