This content has been marked as final.
Show 2 replies
-
1. Re: How to invoke a native method?
rogeduardo Apr 26, 2006 10:21 AM (in response to bmateus)Cerificate if the signature of method into .so is correct. Try this:
javah -jni class_name
It will generate one .h, check inside this file if this name is equal of the signature of file it will generate or .so. Try too export de variable LD_LIBRARY_PATH in your enviroment. But you have export before the bring up JBOSS. -
2. Re: How to invoke a native method?
rogeduardo Apr 26, 2006 10:22 AM (in response to bmateus)"rogeduardo" wrote:
Cerificate if the signature of method into .so is correct. Try this:
javah -jni class_name
It will generate one .h, check inside this file if this name is equal of the signature of file it will generate your .so. Try too export de variable LD_LIBRARY_PATH in your enviroment. But you have export before the bring up JBOSS.