I'm trying out a sample JNI program but am unable to get the javah tool to work. I have 1 source file, Nativejni.java in C:\Workspace\VideoRecorder\src\org\ccb\wifo\video\Nativejni.java. org.ccb.wifo.video is the name of the package.I have compiled and got a class file in the src directory.And for generating header file I have tried like below
C:\Workaspace\VideoRecorder\bin>javah -jni org.ccb.wifo.video.Nativejni
But I got an error like .
**error: cannot access org.ccb.wifo.video.Nativejni
class file for org.ccb.wifo.video.Nativejni not found
javadoc: error - Class org.ccb.wifo.video.Nativejni not found.
Error: No classes were specified on the command line. Try -help.**
I have googled a lot and tried the solutions found there. But no use. Please help me.