JB wrote:
> 
> Hi all. I have created and successfully run a JNI *.so on RH6 but for
> one thing.
> When I package the java src that contains the native methods, I get an
> UnsatifiedLinkerError for the method call. When I try to package it, it
> seems to load properly but dies when I call any native methods. The
> package name is fine. I thought it may be a namespace issue. Any
> pointers would help.

The name of the native entry point is derived from the full
package+class+method name. If you rerun javah on your classfile, you'll
see it's now expecting a different name for the native function.

Nathan


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to