0

I have native dll(C++) in my project. I'm using Eclipse FatJar Plugin to create FatJar. My native dll is dependent to other native dlls like "libopencv_core247". I know that FatJar is creating temp folder load dependent libraries from this folder. If I can find I will set the Java library path as this folder.

I can load my library and I'm getting Can not find dependent libraries error.

rtruszk
  • 3,902
  • 13
  • 36
  • 53
bzkrtmurat
  • 189
  • 1
  • 3
  • 15
  • You have to include all c++ depended libs into your c++-lib. This lib must be in your project-ressource folder and java build path. Then it should work. – MrT Aug 05 '15 at 11:13
  • You might also have to write code to extract the dlls to a certain location as well. – BillRobertson42 Aug 07 '15 at 13:17

0 Answers0