Search code examples
javajna

Calling Java functions from C using JNA


I'm reading about Java Native Access and so far i have been able to successfully call C functions from Java.

Is there a way to do the opposite? Googling didnt help much.


Solution

  • This doesn't work with JNA, use JNI instead http://en.wikipedia.org/wiki/Java_Native_Interface