unsatisfied link error: no opencv_java in java.library.path -

Asked by Spencer on 2019-06-01

I followed these instructions to install opencv on mint

https://opencv-java-tutorials.readthedocs.io/en/latest/01-installing-opencv-for-java.html#install-opencv-3-x-under-linux

i keep getting this error:
RunTimeIDE: loadLib: opencv_java not usable:
java.lang.UnsatisfiedLinkError: no opencv_java in java.library.path

i can't figure out how to link to the opencv_java.so because i can't find it... i only know where the

libopencv-java346.so

and the

opencv-346.jar

is.

please help!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
TestMechanic
Solved:
2019-06-07
Last query:
2019-06-07
Last reply:
2019-06-03
Best TestMechanic (ndinev) said : #1

I just tried on fresh Mint 19 VM.

You need to follow original Raiman instructions
https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#newslinux

Only 2 steps are needed
1. Install libopencv-java using sudo apt
2. Link libopencv-java to /usr/lib folder

Spencer (spencersomething128) said : #2

Thanks for the response!

this is what the person did to solve my issue i think.

I didn't realize how to symbolicly link something and they showed me how it worked sort of.

Thanks!

Spencer (spencersomething128) said : #3

Thanks TestMechanic, that solved my question.