Javah tool error: Could not find class file for hellojni
I suspect the issue is that your class has a package and you are trying to run the command from the directory with the class file instead of the package root. Samhain’s example works because his MyClass.java contains no package, whereas I suspect yours does. For example, assume we have the following file at c:\src\com\example\MyClass.java … Read more