I install the 4.1.0 version of OpenCV on MacOS (Version 10.12.6) with the following command :
brew install --build-from-source opencv
After that I get my .jar file and I added it to my netbeans project. And I get the following error :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java410 in java.library.path
when I try this code :
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
System.out.println("mat = " + mat.dump());
I already search what I can add to the VM options but I don't found it.
Thanks for your help !