Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Issue Docker CentOS and Ubuntu #283

Closed
thekevshow opened this issue Feb 4, 2019 · 1 comment
Closed

Dependency Issue Docker CentOS and Ubuntu #283

thekevshow opened this issue Feb 4, 2019 · 1 comment

Comments

@thekevshow
Copy link

'An exception occured while executing the Java class. no jniopencv_highgui in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]: /root/.javacpp/cache/opencv-4.0.1-1.4.4-linux-x86_64.jar/org/bytedeco/javacpp/linux-x86_64/libjniopencv_highgui.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory'

This works fine through eclipse on both my window and linux machines, but if I try to launch via a mvn exec:java -D"exec.mainClass"="com.service,Application" or java -cp 'app/target/maven-deps/*:app/target/opencv-result-service-1.0.0.jar'com.service,Application

I get the same random errors.

@saudet
Copy link
Member

saudet commented Feb 4, 2019

Duplicate of bytedeco/javacpp-presets#593

@saudet saudet marked this as a duplicate of bytedeco/javacpp-presets#593 Feb 4, 2019
@saudet saudet closed this as completed Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants