On 27/04/2010, at 11:47 AM, Ikuo Yamasaki wrote:
BJ> Did you try this out? Yes and I succeeded in loading the code. However, from the OSGi Spec point of view, I cannot find whether it is proper way. (This might be not OSGi issue but System.loadLibrary issue.) That's why I asked.
As far as I can tell from reading the OSGi specification, there is no other way, and this is the method I use in my own code. The OSGi framework you're using should have installed a custom classloader that will be used to locate the shared library using the Bundle-NativeCode header, so all ought to be fine.
Cheers Chris -------- Christopher Armstrong [email protected] _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
