lethc
27-01-2016, 17:16
We recently started to use our Jetson that we got a while back to do vision tracking this season. We built a jar to start doing some vision tracking, we ran it on Windows first to see how it would run, and it ran great. We used an openCV library in our project. We then transferred the executable .jar over to our Jetson, and it wouldn't run, with the error:java.lang.UnsatisfiedLinkError: no opencv_java310 in java.library.path
We tried running it as a relative path, using the java.library.path file, and putting the opencv jar inside the following folders: /usr/include/ /home/ubuntu/ and the project folder. We also tried to load the file as a static (explicitly stating the path), but with no luck either. We also tried reinstalling the libopencv from apt-get and getting the one from the JetPack installer.
What can we do to use an OpenCV library in our Java project and run it on our Jetson Tk1 (running ubuntu)? Do we need to build a library on the Jetson itself? How do we do that?
We tried running it as a relative path, using the java.library.path file, and putting the opencv jar inside the following folders: /usr/include/ /home/ubuntu/ and the project folder. We also tried to load the file as a static (explicitly stating the path), but with no luck either. We also tried reinstalling the libopencv from apt-get and getting the one from the JetPack installer.
What can we do to use an OpenCV library in our Java project and run it on our Jetson Tk1 (running ubuntu)? Do we need to build a library on the Jetson itself? How do we do that?