I am trying to generate JNI code from my Java class. I was able to generate the header without a problem using javah Whenever I run javah with the -stubs command I get this error:
Error: JNI does not require stubs, please refer to the JNI documentation.
Does anyone know if there is a way to generate a JNI .c file for a class. I can make the file from my header by hand, but it seems like something a tool should be able to do.
I found an unresolved bug request about this from 2000 so I'm not too hopeful. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4368114