This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I used the JNI but it shows me an error as can't find the class file. Means when I compile the .java file it creates the .class file with no error or exception but when I try to make the header file using "javah" it is telling that he couldn't find the required class file. I placed .java and .class file in the same directory.