Which isn't the only solution. With native libs you should use the bundle
loafer to load native libs. With this it is possible to update also bundles
with native code.

Regards, Achim

sent from mobile device
Am 03.04.2014 15:38 schrieb "Jean-Baptiste Onofré" <[email protected]>:

> Which is normal, as the uninstall of a bundle doesn't unload the native
> library.
>
> That's why, it would be better to put the dll/so in Karaf lib.
>
> Regards
> JB
>
> On 04/03/2014 03:34 PM, Philipp Hoenisch wrote:
>
>> haha, that was to obvious right? :)
>>
>> well, at least System.loadLibrary(xxx) works now,
>> but still, only one time, i.e. if I uninstall and reinstall that bundle, I
>> receive again the:
>> java.lang.UnsatisfiedLinkError: ...  xxxx.so already loaded in another
>> classloader Exception
>>
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/Native-library-and-System-load-tp4032562p4032564.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to