Ask Your Question

OpenCV 2.4.11 Linux Ubuntu - Caused by: java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path

asked 2016-07-09 06:28:38 -0600

alexanoid gravatar image

I'm trying to run my application based on OpenCV 2.4.11 and Lire Java libraries under Linux Ubuntu.

During start up I'm faced a following exception:

Caused by: java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path at java.lang.ClassLoader.loadLibrary( at java.lang.Runtime.loadLibrary0( at java.lang.System.loadLibrary( at net.semanticmetadata.lire.imageanalysis.features.local.opencvfeatures.CvSurfExtractor.init( at net.semanticmetadata.lire.imageanalysis.features.local.opencvfeatures.CvSurfExtractor.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(

Where this library can be found ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-20 03:14:34 -0600

tacocat88 gravatar image

Take note of where the open cv_javax.x.x.dll is in your open cv installation folder. Usually in opencv, build, Java,x64. In your project properties set -djava library path to this file.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-07-09 06:27:26 -0600

Seen: 1,973 times

Last updated: Jul 20 '16