Command:
javah -jni JavaHowTo
Result:
error: cannot access JavaHowTo class file for JavaHowTo not found javadoc: error -
Try
javah -jni com.example.JavaHowTo
where com.example is your package.
com.example
You also need to run javah from the directory containing com/example/JavaHowTo.class
com/example/JavaHowTo.class
e.g. if your structure is
/home/user/com/example/JavaHowTo.class
run javah from
/home/user