I have the same problem like this post below. But the answers didn't work for me. I hope linking like this is ok.
How to package opencv +java in a jar
I'm loading my opencv lib like this:
System.loadLibrary(Core.NATIVE_LIBRARY_NAME); // for opencv
In Eclipse I have linked the nativ lib of opencv. Everything works fine till I try to export a jar file.
Probably because the native lib doesn't get exported. On my mac I have the native lib here: /Java Libraries/opencv/opencv-3.0.0/build/lib
Does anyone know how to change the code from the link above so the native lib gets exported as well?
Thanks