I am trying to create a header file using javah tool from command line on windows 7 OS but i am failing all the time.
I have followed different ways and even read the documentation of javah tool from oracle but they didn't help to overcome with this problem.
My class file (hellojni.class
) and java file (hellojni.java
) both are in the root of D:\
drive.
But whenever I run javah tool it gives me an error:
could not find class file for hellojni
I tried by providing classpath as well but not getting any header file.