Bundle-NativeCode explanation. [message #102747] |
Fri, 07 December 2007 10:29 |
Eclipse User |
|
|
|
Hello,
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)
|--ClassA
|-- native nativeMethodA
BundleB
|--ClassB
|-- native nativeMethodB
MyLib.dll
|--WrappedClassA
|-- nativeMethodA
|--WrappedClassB
|-- 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.
Mickael.
|
|
|
Powered by
FUDForum. Page generated in 0.03060 seconds