Good Day,
I have created my own program using the v4l4j API. When I'm running the program in eclipse it works fine, but after making the project to a .jar and tried to run it using
the terminal, the "Cant load v4l4j JNI library" error comes out.
Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "v4l4j" group.
To view this discussion on the web visit https://groups.google.com/d/msg/v4l4j/-/1QvFj78ly8sJ.
To post to this group, send email to v4...@googlegroups.com.
To unsubscribe from this group, send email to v4l4j+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/v4l4j?hl=en.
"Do you have the "lib" folder, where there is the "v4l4j.jar" file, in the same position of your program's jar file?"
I tried that but still didn't work.
I tried it in my Ubuntu and it works fine, but when I do the same in my CentOS the error keeps on coming out.
First i just tried "java -jar myjar.jar" then I also tried "java -jar myjar.jar -Djava.library.path=/usr/lib/java -cp /usr/share/java/v4l4j.jar".