I am trying to create a java header file. I compiled the project in netbeans then in command line i type the following:
javah -classpath C:\Users\User\Documents\NetBeansProjects\JNITest\build\classes.jnitest HelloWorld
I also tried:
javah -classpath C:\Users\User\Documents\NetBeansProjects\JNITest\build\classes\jnitest HelloWorld
But I am getting an error: Could not find clas file for `HelloWorld` .
The class is clearly there located in:
C:\Users\User\Documents\NetBeansProjects\JNITest\build\classes\jnitest\HelloWorld.class
How should I correctly specify the path?