caprica / vlcj

Java framework for the vlc media player
http://www.capricasoftware.co.uk/projects/vlcj
1.15k stars 260 forks source link

Native discovery fails on Ubuntu 16.04 LTS with VLC 3.0.8 installation using snap and VLCJ 4. #916

Closed left4dead closed 4 years ago

left4dead commented 4 years ago
aro@Demo:/snap/vlc/current/usr/lib$ ls -al libvlc*
lrwxrwxrwx 1 root root      19 Dec 16 13:43 libvlccore.so -> libvlccore.so.9.0.0
lrwxrwxrwx 1 root root      19 Dec 16 13:43 libvlccore.so.9 -> libvlccore.so.9.0.0
-rwxr-xr-x 1 root root 1237896 Dec 16 13:43 libvlccore.so.9.0.0
lrwxrwxrwx 1 root root      15 Dec 16 13:45 libvlc.so -> libvlc.so.5.6.0
lrwxrwxrwx 1 root root      15 Dec 16 13:45 libvlc.so.5 -> libvlc.so.5.6.0
-rwxr-xr-x 1 root root  184544 Dec 16 13:45 libvlc.so.5.6.0

Error Log:


Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library 'vlc'
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: /snap/vlc/current/usr/lib
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /snap/vlc/current/usr/lib/libvlc.so
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Loading failed with message: libvlccore.so.9: cannot open shared object file: No such file or directory
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding system paths: [/usr/lib/x86_64-linux-gnu, /lib/x86_64-linux-gnu, /lib64, /usr/lib, /lib, /usr/lib/x86_64-linux-gnu/libfakeroot, /usr/lib/x86_64-linux-gnu/mesa-egl, /usr/lib/x86_64-linux-gnu/mesa]
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /snap/vlc/current/usr/lib/libvlc.so
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Loading failed with message: libvlccore.so.9: cannot open shared object file: No such file or directory
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for version variants
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /snap/vlc/current/usr/lib/libvlc.so.5.6.0
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Loading failed with message: libvlccore.so.9: cannot open shared object file: No such file or directory
Feb 07, 2020 11:22:12 AM com.sun.jna.Native extractFromResourcePath
INFO: Looking in classpath from sun.misc.Launcher$AppClassLoader@18b4aac2 for vlc
Feb 07, 2020 11:22:12 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Loading failed with message: Native library (linux-x86-64/libvlc.so) not found in resource path ([file:/home/aro/Java/jdk1.8.0_161/jre/lib/resources.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/rt.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jsse.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jce.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/charsets.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jfr.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/nashorn.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunjce_provider.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/cldrdata.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/zipfs.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunec.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/localedata.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunpkcs11.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/jaccess.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/jfxrt.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/dnsns.jar, file:/home/aro/vo/ARO.UI/target/classes/, file:/home/aro/vo/ARO.Core/target/classes/, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-s3/1.11.479/aws-java-sdk-s3-1.11.479.jar, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-kms/1.11.479/aws-java-sdk-kms-1.11.479.jar, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-core/1.11.479/aws-java-sdk-core-1.11.479.jar, file:/home/aro/.m2/repository/software/amazon/ion/ion-java/1.0.2/ion-java-1.0.2.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.7/jackson-dataformat-cbor-2.6.7.jar, file:/home/aro/.m2/repository/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar, file:/home/aro/.m2/repository/com/amazonaws/jmespath-java/1.11.479/jmespath-java-1.11.479.jar, file:/home/aro/.m2/repository/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar, file:/home/aro/.m2/repository/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar, file:/home/aro/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-server/2.25.1/jersey-server-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-common/2.25.1/jersey-common-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.25.1/jersey-guava-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-client/2.25.1/jersey-client-2.25.1.jar, file:/home/aro/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.25.1/jersey-media-jaxb-2.25.1.jar, file:/home/aro/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-api/2.5.0-b32/hk2-api-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-utils/2.5.0-b32/hk2-utils-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.5.0-b32/aopalliance-repackaged-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/external/javax.inject/2.5.0-b32/javax.inject-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-locator/2.5.0-b32/hk2-locator-2.5.0-b32.jar, file:/home/aro/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.25.1/jersey-container-servlet-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.25.1/jersey-container-servlet-core-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/media/jersey-media-multipart/2.26/jersey-media-multipart-2.26.jar, file:/home/aro/.m2/repository/org/jvnet/mimepull/mimepull/1.9.6/mimepull-1.9.6.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar, file:/home/aro/.m2/repository/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.jar, file:/home/aro/.m2/repository/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.jar, file:/home/aro/.m2/repository/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.jar, file:/home/aro/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar, file:/home/aro/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar, file:/home/aro/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar, file:/home/aro/.m2/repository/com/drewnoakes/metadata-extractor/2.8.1/metadata-extractor-2.8.1.jar, file:/home/aro/.m2/repository/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-imaging/1.0-SNAPSHOT/commons-imaging-1.0-SNAPSHOT.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-collections4/4.3/commons-collections4-4.3.jar, file:/home/aro/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-math3/3.5/commons-math3-3.5.jar, file:/home/aro/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar, file:/home/aro/.m2/repository/javax/media/jai/com.springsource.javax.media.jai.core/1.1.3/com.springsource.javax.media.jai.core-1.1.3.jar, file:/home/aro/.m2/repository/javax/media/jai/com.springsource.javax.media.jai.codec/1.1.3/com.springsource.javax.media.jai.codec-1.1.3.jar, file:/home/aro/.m2/repository/org/jsoup/jsoup/1.8.1/jsoup-1.8.1.jar, file:/home/aro/.m2/repository/com/yahoo/platform/yui/yuicompressor/2.4.2/yuicompressor-2.4.2.jar, file:/home/aro/.m2/repository/rhino/js/1.6R7/js-1.6R7.jar, file:/home/aro/.m2/repository/com/googlecode/htmlcompressor/htmlcompressor/1.5.2/htmlcompressor-1.5.2.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9.3/jackson-databind-2.9.9.3.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar, file:/home/aro/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar, file:/home/aro/.m2/repository/com/android/tools/ddms/ddmlib/26.1.2/ddmlib-26.1.2.jar, file:/home/aro/.m2/repository/com/android/tools/common/26.1.2/common-26.1.2.jar, file:/home/aro/.m2/repository/com/android/tools/annotations/26.1.2/annotations-26.1.2.jar, file:/home/aro/.m2/repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar, file:/home/aro/.m2/repository/commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.jar, file:/home/aro/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar, file:/home/aro/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar, file:/home/aro/.m2/repository/com/github/jai-imageio/jai-imageio-jpeg2000/1.3.0/jai-imageio-jpeg2000-1.3.0.jar, file:/home/aro/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.3.0/jai-imageio-core-1.3.0.jar, file:/home/aro/.m2/repository/com/github/lonnyj/webp-imageio/0.5.2/webp-imageio-0.5.2.jar, file:/home/aro/.m2/repository/org/hyperic/sigar/1.6.4/sigar-1.6.4.jar, file:/home/aro/.m2/repository/org/bytedeco/javacv/1.2/javacv-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libdc1394/2.2.4-1.2/libdc1394-2.2.4-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libdc1394/2.2.4-1.2/libdc1394-2.2.4-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libfreenect/0.5.3-1.2/libfreenect-0.5.3-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libfreenect/0.5.3-1.2/libfreenect-0.5.3-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/videoinput/0.200-1.2/videoinput-0.200-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/videoinput/0.200-1.2/videoinput-0.200-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/artoolkitplus/2.3.1-1.2/artoolkitplus-2.3.1-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/artoolkitplus/2.3.1-1.2/artoolkitplus-2.3.1-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flandmark/1.07-1.2/flandmark-1.07-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flandmark/1.07-1.2/flandmark-1.07-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp/1.2.3/javacpp-1.2.3.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/opencv/3.1.0-1.2/opencv-3.1.0-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/opencv/3.1.0-1.2/opencv-3.1.0-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/ffmpeg/3.0.2-1.2/ffmpeg-3.0.2-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/ffmpeg/3.0.2-1.2/ffmpeg-3.0.2-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flycapture/2.9.3.43-1.2/flycapture-2.9.3.43-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flycapture/2.9.3.43-1.2/flycapture-2.9.3.43-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/net/lingala/zip4j/zip4j/1.3.2/zip4j-1.3.2.jar, file:/home/aro/.m2/repository/com/sikulix/sikulixapi/1.1.1/sikulixapi-1.1.1.jar, file:/home/aro/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar, file:/home/aro/.m2/repository/commons-net/commons-net/3.4/commons-net-3.4.jar, file:/home/aro/.m2/repository/com/melloware/jintellitype/1.3.9/jintellitype-1.3.9.jar, file:/home/aro/.m2/repository/com/nativelibs4java/bridj/0.7.0/bridj-0.7.0.jar, file:/home/aro/.m2/repository/com/google/android/tools/dx/1.7/dx-1.7.jar, file:/home/aro/.m2/repository/com/github/vidstige/jadb/-v1.0-g94ebf38-23/jadb--v1.0-g94ebf38-23.jar, file:/home/aro/.m2/repository/com/sikulix/sikulixlibslux/1.1.1/sikulixlibslux-1.1.1.jar, file:/home/aro/.m2/repository/com/sikulix/sikulix1tigervnc/1.1.1/sikulix1tigervnc-1.1.1.jar, file:/home/aro/.m2/repository/org/meanbean/meanbean/2.0.3/meanbean-2.0.3.jar, file:/home/aro/vo/DataCollectors/ARO.NorootAndroidCollector/target/classes/, file:/home/aro/vo/DataCollectors/ARO.RootedAndroidCollector/target/classes/, file:/home/aro/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar, file:/home/aro/vo/DataCollectors/ARO.IOSCollector/target/classes/, file:/home/aro/.m2/repository/com/github/ganskef/littleproxy-mitm/1.1.1.1/littleproxy-mitm-1.1.1.1.jar, file:/home/aro/.m2/repository/org/nanohttpd/nanohttpd/2.3.1/nanohttpd-2.3.1.jar, file:/home/aro/.m2/repository/org/nanohttpd/nanohttpd-webserver/2.3.1/nanohttpd-webserver-2.3.1.jar, file:/home/aro/vo/ARO.Analytics/target/classes/, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-core/2.2.32/orientdb-core-2.2.32.jar, file:/home/aro/.m2/repository/org/xerial/snappy/snappy-java/1.1.0.1/snappy-java-1.1.0.1.jar, file:/home/aro/.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.1/concurrentlinkedhashmap-lru-1.4.1.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-object/2.2.32/orientdb-object-2.2.32.jar, file:/home/aro/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-server/2.2.32/orientdb-server-2.2.32.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-client/2.2.32/orientdb-client-2.2.32.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-tools/2.2.32/orientdb-tools-2.2.32.jar, file:/home/aro/.m2/repository/javax/mail/mail/1.4.7/mail-1.4.7.jar, file:/home/aro/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar, file:/home/aro/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar, file:/home/aro/.m2/repository/com/aro/proxy/proxy-vole/1.0.0/proxy-vole-1.0.0.jar, file:/home/aro/.m2/repository/org/jfree/jfreechart/1.0.17/jfreechart-1.0.17.jar, file:/home/aro/.m2/repository/org/jfree/jcommon/1.0.21/jcommon-1.0.21.jar, file:/home/aro/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar, file:/home/aro/.m2/repository/org/codehaus/mojo/findbugs-maven-plugin/3.0.4/findbugs-maven-plugin-3.0.4.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/findbugs/3.0.1/findbugs-3.0.1.jar, file:/home/aro/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/bcel-findbugs/6.0/bcel-findbugs-6.0.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/jFormatString/2.0.1/jFormatString-2.0.1.jar, file:/home/aro/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-debug-all/5.0.2/asm-debug-all-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-commons/5.0.2/asm-commons-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-tree/5.0.2/asm-tree-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm/5.0.2/asm-5.0.2.jar, file:/home/aro/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/home/aro/.m2/repository/com/apple/AppleJavaExtensions/1.4/AppleJavaExtensions-1.4.jar, file:/home/aro/.m2/repository/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar, file:/home/aro/.m2/repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-ant/2.4.7/groovy-ant-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-antlr/1.9.4/ant-antlr-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-groovydoc/2.4.7/groovy-groovydoc-2.4.7.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-templates/2.4.7/groovy-templates-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-junit/1.9.4/ant-junit-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.1/maven-reporting-impl-2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-project/2.0.10/maven-project-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-settings/2.0.10/maven-settings-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-profile/2.0.10/maven-profile-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-registry/2.0.10/maven-plugin-registry-2.0.10.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar, file:/home/aro/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-core/1.4/doxia-core-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.4/doxia-logging-api-1.4.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar, file:/home/aro/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.4/doxia-sink-api-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.4/doxia-decoration-model-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.4/doxia-site-renderer-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.4/doxia-module-xhtml-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.4/doxia-module-fml-1.4.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar, file:/home/aro/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar, file:/home/aro/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar, file:/home/aro/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar, file:/home/aro/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar, file:/home/aro/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar, file:/home/aro/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar, file:/home/aro/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2.1/maven-doxia-tools-1.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar, file:/home/aro/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar, file:/home/aro/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar, file:/home/aro/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar, file:/home/aro/.m2/repository/org/projectlombok/lombok/1.18.2/lombok-1.18.2.jar, file:/home/aro/.m2/repository/javax/media/jmf/2.1.1e/jmf-2.1.1e.jar, file:/home/aro/.m2/repository/uk/co/caprica/vlcj/4.3.0/vlcj-4.3.0.jar, file:/home/aro/.m2/repository/uk/co/caprica/vlcj-natives/4.1.0/vlcj-natives-4.1.0.jar, file:/home/aro/.m2/repository/net/java/dev/jna/jna/5.2.0/jna-5.2.0.jar, file:/home/aro/.m2/repository/net/java/dev/jna/jna-platform/5.2.0/jna-platform-5.2.0.jar, file:/home/aro/.m2/repository/org/swinglabs/swingx/1.6.1/swingx-1.6.1.jar, file:/home/aro/.m2/repository/com/jhlabs/filters/2.0.235/filters-2.0.235.jar, file:/home/aro/.m2/repository/org/swinglabs/swing-worker/1.1/swing-worker-1.1.jar, file:/home/aro/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.6/jcl-over-slf4j-1.7.6.jar, file:/home/aro/.m2/repository/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar, file:/home/aro/.m2/repository/org/slf4j/slf4j-log4j12/1.7.6/slf4j-log4j12-1.7.6.jar, file:/home/aro/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar, file:/home/aro/.m2/repository/org/springframework/spring-context/4.3.4.RELEASE/spring-context-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-aop/4.3.4.RELEASE/spring-aop-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-beans/4.3.4.RELEASE/spring-beans-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-core/4.3.4.RELEASE/spring-core-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-expression/4.3.4.RELEASE/spring-expression-4.3.4.RELEASE.jar, file:/home/aro/eclipse/java-photon/eclipse/configuration/org.eclipse.osgi/232/0/.cp/lib/javaagent-shaded.jar])
Unable to load library 'vlc':
libvlccore.so.9: cannot open shared object file: No such file or directory
libvlccore.so.9: cannot open shared object file: No such file or directory
libvlccore.so.9: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libvlc.so) not found in resource path ([file:/home/aro/Java/jdk1.8.0_161/jre/lib/resources.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/rt.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jsse.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jce.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/charsets.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/jfr.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/nashorn.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunjce_provider.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/cldrdata.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/zipfs.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunec.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/localedata.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/sunpkcs11.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/jaccess.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/jfxrt.jar, file:/home/aro/Java/jdk1.8.0_161/jre/lib/ext/dnsns.jar, file:/home/aro/vo/ARO.UI/target/classes/, file:/home/aro/vo/ARO.Core/target/classes/, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-s3/1.11.479/aws-java-sdk-s3-1.11.479.jar, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-kms/1.11.479/aws-java-sdk-kms-1.11.479.jar, file:/home/aro/.m2/repository/com/amazonaws/aws-java-sdk-core/1.11.479/aws-java-sdk-core-1.11.479.jar, file:/home/aro/.m2/repository/software/amazon/ion/ion-java/1.0.2/ion-java-1.0.2.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.7/jackson-dataformat-cbor-2.6.7.jar, file:/home/aro/.m2/repository/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar, file:/home/aro/.m2/repository/com/amazonaws/jmespath-java/1.11.479/jmespath-java-1.11.479.jar, file:/home/aro/.m2/repository/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar, file:/home/aro/.m2/repository/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar, file:/home/aro/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-server/2.25.1/jersey-server-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-common/2.25.1/jersey-common-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.25.1/jersey-guava-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/core/jersey-client/2.25.1/jersey-client-2.25.1.jar, file:/home/aro/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.25.1/jersey-media-jaxb-2.25.1.jar, file:/home/aro/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-api/2.5.0-b32/hk2-api-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-utils/2.5.0-b32/hk2-utils-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.5.0-b32/aopalliance-repackaged-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/external/javax.inject/2.5.0-b32/javax.inject-2.5.0-b32.jar, file:/home/aro/.m2/repository/org/glassfish/hk2/hk2-locator/2.5.0-b32/hk2-locator-2.5.0-b32.jar, file:/home/aro/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.25.1/jersey-container-servlet-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.25.1/jersey-container-servlet-core-2.25.1.jar, file:/home/aro/.m2/repository/org/glassfish/jersey/media/jersey-media-multipart/2.26/jersey-media-multipart-2.26.jar, file:/home/aro/.m2/repository/org/jvnet/mimepull/mimepull/1.9.6/mimepull-1.9.6.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar, file:/home/aro/.m2/repository/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.jar, file:/home/aro/.m2/repository/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.jar, file:/home/aro/.m2/repository/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.jar, file:/home/aro/.m2/repository/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.jar, file:/home/aro/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar, file:/home/aro/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar, file:/home/aro/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar, file:/home/aro/.m2/repository/com/drewnoakes/metadata-extractor/2.8.1/metadata-extractor-2.8.1.jar, file:/home/aro/.m2/repository/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-imaging/1.0-SNAPSHOT/commons-imaging-1.0-SNAPSHOT.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-collections4/4.3/commons-collections4-4.3.jar, file:/home/aro/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-math3/3.5/commons-math3-3.5.jar, file:/home/aro/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar, file:/home/aro/.m2/repository/javax/media/jai/com.springsource.javax.media.jai.core/1.1.3/com.springsource.javax.media.jai.core-1.1.3.jar, file:/home/aro/.m2/repository/javax/media/jai/com.springsource.javax.media.jai.codec/1.1.3/com.springsource.javax.media.jai.codec-1.1.3.jar, file:/home/aro/.m2/repository/org/jsoup/jsoup/1.8.1/jsoup-1.8.1.jar, file:/home/aro/.m2/repository/com/yahoo/platform/yui/yuicompressor/2.4.2/yuicompressor-2.4.2.jar, file:/home/aro/.m2/repository/rhino/js/1.6R7/js-1.6R7.jar, file:/home/aro/.m2/repository/com/googlecode/htmlcompressor/htmlcompressor/1.5.2/htmlcompressor-1.5.2.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9.3/jackson-databind-2.9.9.3.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, file:/home/aro/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar, file:/home/aro/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar, file:/home/aro/.m2/repository/com/android/tools/ddms/ddmlib/26.1.2/ddmlib-26.1.2.jar, file:/home/aro/.m2/repository/com/android/tools/common/26.1.2/common-26.1.2.jar, file:/home/aro/.m2/repository/com/android/tools/annotations/26.1.2/annotations-26.1.2.jar, file:/home/aro/.m2/repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar, file:/home/aro/.m2/repository/commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.jar, file:/home/aro/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar, file:/home/aro/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar, file:/home/aro/.m2/repository/com/github/jai-imageio/jai-imageio-jpeg2000/1.3.0/jai-imageio-jpeg2000-1.3.0.jar, file:/home/aro/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.3.0/jai-imageio-core-1.3.0.jar, file:/home/aro/.m2/repository/com/github/lonnyj/webp-imageio/0.5.2/webp-imageio-0.5.2.jar, file:/home/aro/.m2/repository/org/hyperic/sigar/1.6.4/sigar-1.6.4.jar, file:/home/aro/.m2/repository/org/bytedeco/javacv/1.2/javacv-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libdc1394/2.2.4-1.2/libdc1394-2.2.4-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libdc1394/2.2.4-1.2/libdc1394-2.2.4-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libfreenect/0.5.3-1.2/libfreenect-0.5.3-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/libfreenect/0.5.3-1.2/libfreenect-0.5.3-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/videoinput/0.200-1.2/videoinput-0.200-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/videoinput/0.200-1.2/videoinput-0.200-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/artoolkitplus/2.3.1-1.2/artoolkitplus-2.3.1-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/artoolkitplus/2.3.1-1.2/artoolkitplus-2.3.1-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flandmark/1.07-1.2/flandmark-1.07-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flandmark/1.07-1.2/flandmark-1.07-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp/1.2.3/javacpp-1.2.3.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/opencv/3.1.0-1.2/opencv-3.1.0-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/opencv/3.1.0-1.2/opencv-3.1.0-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/ffmpeg/3.0.2-1.2/ffmpeg-3.0.2-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/ffmpeg/3.0.2-1.2/ffmpeg-3.0.2-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flycapture/2.9.3.43-1.2/flycapture-2.9.3.43-1.2.jar, file:/home/aro/.m2/repository/org/bytedeco/javacpp-presets/flycapture/2.9.3.43-1.2/flycapture-2.9.3.43-1.2-linux-x86_64.jar, file:/home/aro/.m2/repository/net/lingala/zip4j/zip4j/1.3.2/zip4j-1.3.2.jar, file:/home/aro/.m2/repository/com/sikulix/sikulixapi/1.1.1/sikulixapi-1.1.1.jar, file:/home/aro/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar, file:/home/aro/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar, file:/home/aro/.m2/repository/commons-net/commons-net/3.4/commons-net-3.4.jar, file:/home/aro/.m2/repository/com/melloware/jintellitype/1.3.9/jintellitype-1.3.9.jar, file:/home/aro/.m2/repository/com/nativelibs4java/bridj/0.7.0/bridj-0.7.0.jar, file:/home/aro/.m2/repository/com/google/android/tools/dx/1.7/dx-1.7.jar, file:/home/aro/.m2/repository/com/github/vidstige/jadb/-v1.0-g94ebf38-23/jadb--v1.0-g94ebf38-23.jar, file:/home/aro/.m2/repository/com/sikulix/sikulixlibslux/1.1.1/sikulixlibslux-1.1.1.jar, file:/home/aro/.m2/repository/com/sikulix/sikulix1tigervnc/1.1.1/sikulix1tigervnc-1.1.1.jar, file:/home/aro/.m2/repository/org/meanbean/meanbean/2.0.3/meanbean-2.0.3.jar, file:/home/aro/vo/DataCollectors/ARO.NorootAndroidCollector/target/classes/, file:/home/aro/vo/DataCollectors/ARO.RootedAndroidCollector/target/classes/, file:/home/aro/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar, file:/home/aro/vo/DataCollectors/ARO.IOSCollector/target/classes/, file:/home/aro/.m2/repository/com/github/ganskef/littleproxy-mitm/1.1.1.1/littleproxy-mitm-1.1.1.1.jar, file:/home/aro/.m2/repository/org/nanohttpd/nanohttpd/2.3.1/nanohttpd-2.3.1.jar, file:/home/aro/.m2/repository/org/nanohttpd/nanohttpd-webserver/2.3.1/nanohttpd-webserver-2.3.1.jar, file:/home/aro/vo/ARO.Analytics/target/classes/, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-core/2.2.32/orientdb-core-2.2.32.jar, file:/home/aro/.m2/repository/org/xerial/snappy/snappy-java/1.1.0.1/snappy-java-1.1.0.1.jar, file:/home/aro/.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.1/concurrentlinkedhashmap-lru-1.4.1.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-object/2.2.32/orientdb-object-2.2.32.jar, file:/home/aro/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-server/2.2.32/orientdb-server-2.2.32.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-client/2.2.32/orientdb-client-2.2.32.jar, file:/home/aro/.m2/repository/com/orientechnologies/orientdb-tools/2.2.32/orientdb-tools-2.2.32.jar, file:/home/aro/.m2/repository/javax/mail/mail/1.4.7/mail-1.4.7.jar, file:/home/aro/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar, file:/home/aro/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar, file:/home/aro/.m2/repository/com/aro/proxy/proxy-vole/1.0.0/proxy-vole-1.0.0.jar, file:/home/aro/.m2/repository/org/jfree/jfreechart/1.0.17/jfreechart-1.0.17.jar, file:/home/aro/.m2/repository/org/jfree/jcommon/1.0.21/jcommon-1.0.21.jar, file:/home/aro/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar, file:/home/aro/.m2/repository/org/codehaus/mojo/findbugs-maven-plugin/3.0.4/findbugs-maven-plugin-3.0.4.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/findbugs/3.0.1/findbugs-3.0.1.jar, file:/home/aro/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/bcel-findbugs/6.0/bcel-findbugs-6.0.jar, file:/home/aro/.m2/repository/com/google/code/findbugs/jFormatString/2.0.1/jFormatString-2.0.1.jar, file:/home/aro/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-debug-all/5.0.2/asm-debug-all-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-commons/5.0.2/asm-commons-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm-tree/5.0.2/asm-tree-5.0.2.jar, file:/home/aro/.m2/repository/org/ow2/asm/asm/5.0.2/asm-5.0.2.jar, file:/home/aro/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/home/aro/.m2/repository/com/apple/AppleJavaExtensions/1.4/AppleJavaExtensions-1.4.jar, file:/home/aro/.m2/repository/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar, file:/home/aro/.m2/repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-ant/2.4.7/groovy-ant-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-antlr/1.9.4/ant-antlr-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-groovydoc/2.4.7/groovy-groovydoc-2.4.7.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-templates/2.4.7/groovy-templates-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/ant/ant-junit/1.9.4/ant-junit-1.9.4.jar, file:/home/aro/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar, file:/home/aro/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.1/maven-reporting-impl-2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-project/2.0.10/maven-project-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-settings/2.0.10/maven-settings-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-profile/2.0.10/maven-profile-2.0.10.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-registry/2.0.10/maven-plugin-registry-2.0.10.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar, file:/home/aro/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-core/1.4/doxia-core-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.4/doxia-logging-api-1.4.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar, file:/home/aro/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.4/doxia-sink-api-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.4/doxia-decoration-model-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.4/doxia-site-renderer-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.4/doxia-module-xhtml-1.4.jar, file:/home/aro/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.4/doxia-module-fml-1.4.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar, file:/home/aro/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar, file:/home/aro/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar, file:/home/aro/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar, file:/home/aro/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar, file:/home/aro/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar, file:/home/aro/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar, file:/home/aro/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar, file:/home/aro/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2.1/maven-doxia-tools-1.2.1.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar, file:/home/aro/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar, file:/home/aro/.m2/repository/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar, file:/home/aro/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar, file:/home/aro/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar, file:/home/aro/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar, file:/home/aro/.m2/repository/org/projectlombok/lombok/1.18.2/lombok-1.18.2.jar, file:/home/aro/.m2/repository/javax/media/jmf/2.1.1e/jmf-2.1.1e.jar, file:/home/aro/.m2/repository/uk/co/caprica/vlcj/4.3.0/vlcj-4.3.0.jar, file:/home/aro/.m2/repository/uk/co/caprica/vlcj-natives/4.1.0/vlcj-natives-4.1.0.jar, file:/home/aro/.m2/repository/net/java/dev/jna/jna/5.2.0/jna-5.2.0.jar, file:/home/aro/.m2/repository/net/java/dev/jna/jna-platform/5.2.0/jna-platform-5.2.0.jar, file:/home/aro/.m2/repository/org/swinglabs/swingx/1.6.1/swingx-1.6.1.jar, file:/home/aro/.m2/repository/com/jhlabs/filters/2.0.235/filters-2.0.235.jar, file:/home/aro/.m2/repository/org/swinglabs/swing-worker/1.1/swing-worker-1.1.jar, file:/home/aro/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.6/jcl-over-slf4j-1.7.6.jar, file:/home/aro/.m2/repository/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar, file:/home/aro/.m2/repository/org/slf4j/slf4j-log4j12/1.7.6/slf4j-log4j12-1.7.6.jar, file:/home/aro/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar, file:/home/aro/.m2/repository/org/springframework/spring-context/4.3.4.RELEASE/spring-context-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-aop/4.3.4.RELEASE/spring-aop-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-beans/4.3.4.RELEASE/spring-beans-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-core/4.3.4.RELEASE/spring-core-4.3.4.RELEASE.jar, file:/home/aro/.m2/repository/org/springframework/spring-expression/4.3.4.RELEASE/spring-expression-4.3.4.RELEASE.jar, file:/home/aro/eclipse/java-photon/eclipse/configuration/org.eclipse.osgi/232/0/.cp/lib/javaagent-shaded.jar])```
caprica commented 4 years ago

Where do the shared libraries get installed when you use a snap?

left4dead commented 4 years ago

I found the files here: /snap/vlc/current/usr/lib

left4dead commented 4 years ago

Also, it might also be a good idea to add /snap/vlc/current/usr/lib into Linux's well-known paths for VLCJ. Currently, I had to specify -Djna.library.path to get past the VLCJ.

caprica commented 4 years ago

it might also be a good idea to add /snap/vlc/current/usr/lib into Linux's well-known paths for VLCJ

That was precisely the reason I asked :-)

caprica commented 4 years ago

Can you tell me where exactly all of VLC's plugins are installed by your snap package?

left4dead commented 4 years ago

It seems like this: /snap/vlc/current/usr/lib/vlc/plugins

aro@Demo:/snap/vlc/current/usr/lib/vlc/plugins$ ll
total 305
drwxrwxr-x 31 root root    567 Dec 16 13:47 ./
drwxrwxr-x  4 root root    339 Dec 16 13:47 ../
drwxrwxr-x  2 root root   1099 Dec 16 13:47 access/
drwxrwxr-x  2 root root    254 Dec 16 13:47 access_output/
drwxrwxr-x  2 root root    843 Dec 16 13:47 audio_filter/
drwxrwxr-x  2 root root     81 Dec 16 13:47 audio_mixer/
drwxrwxr-x  2 root root    169 Dec 16 13:47 audio_output/
drwxrwxr-x  2 root root   1611 Dec 16 13:47 codec/
drwxrwxr-x  2 root root    236 Dec 16 13:47 control/
drwxrwxr-x  2 root root   1214 Dec 16 13:47 demux/
drwxrwxr-x  2 root root     93 Dec 16 13:47 gui/
drwxrwxr-x  2 root root    140 Dec 16 13:47 keystore/
drwxrwxr-x  2 root root    109 Dec 16 13:47 logger/
drwxrwxr-x  2 root root     39 Dec 16 13:47 lua/
drwxrwxr-x  2 root root     69 Dec 16 13:47 meta_engine/
drwxrwxr-x  2 root root    392 Dec 16 13:47 misc/
drwxrwxr-x  2 root root    270 Dec 16 13:47 mux/
drwxrwxr-x  2 root root    537 Dec 16 13:47 packetizer/
-rw-rw-r--  1 root root 312226 Dec 16 13:45 plugins.dat
drwxrwxr-x  2 root root    285 Dec 16 13:47 services_discovery/
drwxrwxr-x  2 root root    247 Dec 16 13:47 spu/
drwxrwxr-x  2 root root     43 Dec 16 13:47 stream_extractor/
drwxrwxr-x  2 root root    266 Dec 16 13:47 stream_filter/
drwxrwxr-x  2 root root    749 Dec 16 13:47 stream_out/
drwxrwxr-x  2 root root     95 Dec 16 13:47 text_renderer/
drwxrwxr-x  2 root root     49 Dec 16 13:47 vaapi/
drwxrwxr-x  2 root root    221 Dec 16 13:47 vdpau/
drwxrwxr-x  2 root root    595 Dec 16 13:47 video_chroma/
drwxrwxr-x  2 root root   1191 Dec 16 13:47 video_filter/
drwxrwxr-x  2 root root    411 Dec 16 13:47 video_output/
drwxrwxr-x  2 root root     96 Dec 16 13:47 video_splitter/
drwxrwxr-x  2 root root     98 Dec 16 13:47 visualization/

But the question is, why JNA is not able to find libvlccore.so.9 while trying to load libvlc.so as both are present in /snap/vlc/current/usr/lib.

left4dead commented 4 years ago

I think I found the issue. I copied libvlccore.so (symlink to libvlccore.so.9.0.0), libvlccore.so.9 (symlink to libvlccore.so.9.0.0) and libvlccore.so.9.0.0 (actual shared object) to /usr/lib/ directory which is also a well known path for Linux. Now, JNA was able to load the library. See the logs:

Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library 'vlc'
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: /snap/vlc/current/usr/lib
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /snap/vlc/current/usr/lib/libvlc.so
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library 'vlc' at /snap/vlc/current/usr/lib/libvlc.so
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library 'X11'
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: /snap/vlc/current/usr/lib
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying libX11.so
Feb 10, 2020 11:34:51 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library 'X11' at libX11.so
Feb 10, 2020 11:34:52 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library 'vlc'
Feb 10, 2020 11:34:52 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: /snap/vlc/current/usr/lib
Feb 10, 2020 11:34:52 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /snap/vlc/current/usr/lib/libvlc.so
Feb 10, 2020 11:34:52 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library 'vlc' at /snap/vlc/current/usr/lib/libvlc.so

While trying to load libvlc.so, it also tries to load libvlccore.so. I suspect, libvlc also has hard coded values for well known paths for where to look for its dependency i.e. libvlccore.so and do not honor the current directory which is basically a jna.library.path.

I haven't investigated the libvlc codebase for the above statement. Can you confirm and fix if that's the case? May be just adding /snap/vlc/current/usr/lib to Linux well known paths in VLCJ will work.

caprica commented 4 years ago

Adding the snap lib folder to the default well-known locations seems reasonable but will it solve the libvlccore issue? I don't use snap so I can't easily/quickly test right now.

On the other hand the discovery mechanism was designed in such a way to as to be easily extensible - you can write a single class that contributes directory locations to the discovery mechanism and it will be loaded via Java's standard ServiceLoader.

left4dead commented 4 years ago

Found a workaround for now: Set the LD_LIBRARY_PATH environment variable in Linux to /snap/vlc/current/usr/lib and it worked.

However, the issue still exists in LibVlc which tries to find libvlccore.so in /usr/lib directory and ignores the current directory where libvlc.so was found.

caprica commented 4 years ago

But then isn't that some problem with the Snap package?

Surely any application that used LibVLC from a Snap package would have the same problem.

left4dead commented 4 years ago

@caprica Yea, that seems right

caprica commented 4 years ago

I'm going to close this since I think the problem really was something inherent in the snap package rather than vlcj.

It can be reopened if there really is a problem with vlcj.