Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception With Package

Karthikeyan VaithilingamSep 23 2010 — edited Sep 23 2010
Hi

I have a DLL when i try to load the native function from default package it works fine but when i change the package of the JNI class it throws ava.lang.UnsatisfiedLinkError can any one tell me why this is happening

Thanks
Karthi

Comments

EJP
Err, because you changed the package?

If you change the package, the class name, or anything about a native method signature you have to regenerate the .h file and adjust your .c file in the same way.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 21 2010
Added on Sep 23 2010
1 comment
109 views