|Bundle-NativeCode explanation. [message #102747]
||Fri, 07 December 2007 10:29
| Mickael GAUVIN
Registered: July 2009
I have some problems to use my library. I have two bundles and one library:
BundleA (it is the library loader and it requires BundleB)
|-- native nativeMethodA
|-- native nativeMethodB
Currently I'm not using the Bundle-NativeCode entry. When I call
"nativeMethodA" from the bundle A, I have no problem. But when I'm
trying to call "nativeMethodB" I have this error :
java.lang.UnsatisfiedLinkError: nativeMethodB .
At the beginning I had the ClassA and ClassB in the same bundle A and no
problem of UnsatisfiedLinkError that's why I'm wondering about the
Bundle-NativeCode utility and how to use it in order to successfully
call my "nativeMethodB" method.
It seems that the BundleB doesn't know that my library has been loaded
(may be a BundleClassLoader problem ?)
Thanks you in advance for any response you will give to me.
Powered by FUDForum
. Page generated in 0.01393 seconds