Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle-NativeCode explanation.
Bundle-NativeCode explanation. [message #102747] Fri, 07 December 2007 15:29
Mickael GAUVIN is currently offline Mickael GAUVINFriend
Messages: 38
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

|-- nativeMethodA
|-- 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.

Previous Topic:Equinox on Websphere and context updates
Next Topic:OSGi Service Platform 4.0 4.1 ?
Goto Forum:

Current Time: Tue Oct 06 10:33:35 GMT 2015

Powered by FUDForum. Page generated in 0.02210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software