How does the JVM find Native functions?
John J. Boyer
john.boyer at abilitiessoft.com
Wed Jan 26 04:28:04 UTC 2011
I have created bindings for a C library. The Java program seems to load
the library, but when I try to use a method which is declared native I
always get UnsatisfiedLinkError. I used javah to create the headings,
then derived the program from the headings. It looks to me like the
methods have to be registered in some way. How do I go about this? How
does the JVM find the native function corresponding to a native method?
John J. Boyer; President, Chief Software Developer
Madison, Wisconsin USA
Developing software for people with disabilities
More information about the discuss