Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

Error :no opencv_java246 in java.library.path

asked 2013-10-09 14:05:21 -0500

Ioanna gravatar image

I am following this to install openCv for java. I am running the example according to this link.

The following error appear.

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java246 in java.library.path at java.lang.ClassLoader.loadLibrary( at java.lang.Runtime.loadLibrary0( at java.lang.System.loadLibrary( at openCvHello.main( I am trying to solve it 5 days ago. Please help me as soon as posible

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-10 07:17:41 -0500

gaardbo gravatar image

Hi, Had the same problem myself. It turned out that I entered the path in "native library connection" incorrectly. Note that there are two directories called x86 / x64. Both in build\java\x64 and in build\x64. You want the first one (build\java\x64). This is where the the opencv_java246.dll is located. Make sure that you entered the correct path in Native library location.

edit flag offensive delete link more


Thank you very very much!!:D

Ioanna gravatar imageIoanna ( 2013-10-10 14:06:34 -0500 )edit

Thank you!

Joseph118 gravatar imageJoseph118 ( 2014-01-30 04:39:57 -0500 )edit

Tks so much :D

ZeLda gravatar imageZeLda ( 2014-03-08 04:51:59 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-10-09 14:05:21 -0500

Seen: 9,097 times

Last updated: Oct 10 '13