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

Asked by Spencer

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
TestMechanic
Solved:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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!

Revision history for this message
Spencer (spencersomething128) said :
#3

Thanks TestMechanic, that solved my question.