I am trying to create JNI code from my Java class. I was able to generate the header without problems using javah. Whenever I run javah with the -stubs command, I get this error:
Error: JNI does not require stubs; refer to the JNI documentation.
Does anyone know if there is a way to create a JNI .c file for the class. I can make the file from my header manually, but this is similar to what the tool should do.
I have found an unresolved error request about this since 2000, so I donβt hope too much. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4368114
source share