0

i'm trying to load a dll in an equinox osgi environement using System.load() , the path to the dll file is correct but i always get java.lang.UnsatisfiedLinkError . i managed to load the dll when it is placed in System32 folder. using : System.loadLibrary().

the dll works just fine when i experiment with a plain java main class , there's no need to programmaticaly load the dll since eclipse does it .

is there anything specific to OSGI that prevents me from loading my DLL ?

Genjuro
  • 7,405
  • 7
  • 41
  • 61

1 Answers1

0

any chance that your JVM is loading the dll twice? That would also cause an UnsatisfiedLinkError on the second try.

Moh-Aw
  • 2,976
  • 2
  • 30
  • 44