{"action":"created","issue":{"url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/912","repository_url":"https://api.github.com/repos/alexa/alexa-avs-sample-app","labels_url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/912/comments","events_url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/912/events","html_url":"https://github.com/alexa/alexa-avs-sample-app/issues/912","id":253144239,"number":912,"title":"mvn exec:exec error  (BANANA PI M64)","user":{"login":"JimmyChangJY","id":28737124,"avatar_url":"https://avatars0.githubusercontent.com/u/28737124?v=4","gravatar_id":"","url":"https://api.github.com/users/JimmyChangJY","html_url":"https://github.com/JimmyChangJY","followers_url":"https://api.github.com/users/JimmyChangJY/followers","following_url":"https://api.github.com/users/JimmyChangJY/following{/other_user}","gists_url":"https://api.github.com/users/JimmyChangJY/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmyChangJY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmyChangJY/subscriptions","organizations_url":"https://api.github.com/users/JimmyChangJY/orgs","repos_url":"https://api.github.com/users/JimmyChangJY/repos","events_url":"https://api.github.com/users/JimmyChangJY/events{/privacy}","received_events_url":"https://api.github.com/users/JimmyChangJY/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-27T06:19:21Z","updated_at":"2017-09-11T07:18:40Z","closed_at":null,"author_association":"NONE","body":"I did my homework. I spent one week to google every web page to seek the solution. \r\nThere are so many people ask the same question. \r\nBUT I saw the only solution is they upgrade their entire system., For example from Debian 7 upgrade to Debian 8. The problem is gone. But my problem is I can't upgrade my system. \r\n\r\n> My hardware is Banana Pi M64. \r\n> OS:  Ubuntu 16.04 \r\n> Thanks https://github.com/avafinger/bpi-m64-firmware\r\n> \r\n> Uname -a \r\n> Linux Jimmy-M64 3.10.105 \r\n> #1 SMP PREEMPT Sun Mar 26 17:44:41 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux\r\n\r\nStep 1. \r\nI git alexa-avs-sample-app\r\nAnd run automated_install.sh \r\nI skip the some step that I register on Amazon web page and get the ID number blah blah...\r\n\r\nStep 2. \r\nI install Java 8 \r\nI add \r\n\r\n> deb http://ppa.launchpad.net/webupd8team/java/ubuntu\r\n> deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu\r\n> into /etc/apt/source \r\n\r\nthen \r\n```\r\nsudo apt-get update\r\nsudo apt-get  install oracle-java8-installer\r\nsudo apt-get  install oracle-java8-set-default\r\n```\r\n\r\nthen I check the environment \r\n```\r\n\r\nsudo update-alternatives --config javac\r\n/usr/lib/jvm/java-8-oracle/bin/javac\r\n\r\nsudo update-alternatives --config java\r\n/usr/lib/jvm/java-8-oracle/bin/java\r\n```\r\n\r\n```\r\nldconfig -p | grep vlc\r\n\tlibvlccore.so.8 (libc6,AArch64) => /usr/lib/libvlccore.so.8\r\n\tlibvlc_vdpau.so.0 (libc6,AArch64) => /usr/lib/vlc/libvlc_vdpau.so.0\r\n\tlibvlc_vdpau.so (libc6,AArch64) => /usr/lib/vlc/libvlc_vdpau.so\r\n\tlibvlc.so.5 (libc6,AArch64) => /usr/lib/libvlc.so.5\r\n\tlibvlc.so (libc6,AArch64) => /usr/lib/libvlc.so\r\n```\r\n\r\nStep 3.\r\nmvn install \r\nSuccess no error \r\n\r\nThen !!!!!!! \r\nmvn exec:exec error which I post below \r\n\r\nAny idea???\r\n\r\n\r\n```\r\n\r\n===================error message=========================\r\n\r\n\r\nroot@Jimmy-M64:/home/ubuntu/alexa/alexa-avs-sample-app/samples/javaclient# sudo mvn exec:exec\r\n[INFO] Scanning for projects...\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Alexa Voice Service Sample Java Client 20160207.5\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-java-client ---\r\nException in thread \"main\" java.lang.RuntimeException: Failed to load the native library.\r\n\r\nThe error was \"Native library (com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path ([file:/home/ubuntu/alexa/alexa-avs-sample-app/samples/javaclient/target/classes/, file:/root/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar, file:/root/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/root/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar, file:/root/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar, file:/root/.m2/repository/uk/co/caprica/vlcj/2.4.1/vlcj-2.4.1.jar, file:/root/.m2/repository/net/java/dev/jna/platform/3.5.2/platform-3.5.2.jar, file:/root/.m2/repository/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar, file:/root/.m2/repository/javazoom/jlayer/1.0.1/jlayer-1.0.1.jar, file:/root/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar, file:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar, file:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar, file:/root/.m2/repository/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar, file:/root/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.3/log4j-slf4j-impl-2.3.jar, file:/root/.m2/repository/org/apache/logging/log4j/log4j-api/2.3/log4j-api-2.3.jar, file:/root/.m2/repository/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-alpn-client/9.3.7.v20160115/jetty-alpn-client-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-http/9.3.7.v20160115/jetty-http-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.7.v20160115/http2-client-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/http2/http2-http-client-transport/9.3.7.v20160115/http2-http-client-transport-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/http2/http2-hpack/9.3.7.v20160115/http2-hpack-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/http2/http2-common/9.3.7.v20160115/http2-common-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-server/9.3.7.v20160115/jetty-server-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-security/9.3.7.v20160115/jetty-security-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-servlet/9.3.7.v20160115/jetty-servlet-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-io/9.3.7.v20160115/jetty-io-9.3.7.v20160115.jar, file:/root/.m2/repository/org/eclipse/jetty/jetty-client/9.3.7.v20160115/jetty-client-9.3.7.v20160115.jar, file:/root/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar, file:/root/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar])\".\r\n\r\nThe required native libraries are named \"libvlc.so\" and \"libvlccore.so\".\r\n\r\nIn the text below <libvlc-path> represents the name of the directory containing \"libvlc.so\" and \"libvlccore.so\"...\r\n\r\nThere are a number of different ways to specify where to find the native libraries:\r\n 1. Include NativeLibrary.addSearchPath(\"vlc\", \"<libvlc-path>\"); at the start of your application code.\r\n 2. Include System.setProperty(\"jna.library.path\", \"<libvlc-path>\"); at the start of your application code.\r\n 3. Specify -Djna.library.path=<libvlc-path> on the command-line when starting your application.\r\n 4. Add <libvlc-path> to the system search path (and reboot).\r\n\r\nIf this still does not work, then it may be necessary to explicitly add the native library directory to the operating\r\nsystem configuration - e.g. on Linux this might mean setting the LD_LIBRARY_PATH environment variable, or adding\r\nconfiguration to the \"/etc/ld.so.conf\" file or the \"/etc/ld.so.conf.d\" directory. Of these options, setting\r\nLD_LIBRARY_PATH is the only one that would not require root privileges.\r\n\r\nFinally, it is not possible to mix CPU architectures - it is not possible for a 64-bit Java Virtual Machine to load\r\n32-bit native libraries.\r\n\r\nMore information may be available in the log, specify -Dvlcj.log=DEBUG on the command-line when starting your application.\r\n\r\n\tat uk.co.caprica.vlcj.binding.LibVlcFactory.create(LibVlcFactory.java:191)\r\n\tat uk.co.caprica.vlcj.player.MediaPlayerFactory.<init>(MediaPlayerFactory.java:213)\r\n\tat uk.co.caprica.vlcj.component.AudioMediaPlayerComponent.onGetMediaPlayerFactory(AudioMediaPlayerComponent.java:168)\r\n\tat uk.co.caprica.vlcj.component.AudioMediaPlayerComponent.<init>(AudioMediaPlayerComponent.java:102)\r\n\tat com.amazon.alexa.avs.AVSAudioPlayer.setupAudioPlayer(AVSAudioPlayer.java:252)\r\n\tat com.amazon.alexa.avs.AVSAudioPlayer.<init>(AVSAudioPlayer.java:143)\r\n\tat com.amazon.alexa.avs.AVSAudioPlayerFactory.getAudioPlayer(AVSAudioPlayerFactory.java:18)\r\n\tat com.amazon.alexa.avs.AVSController.<init>(AVSController.java:183)\r\n\tat com.amazon.alexa.avs.App.<init>(App.java:47)\r\n\tat com.amazon.alexa.avs.App.<init>(App.java:36)\r\n\tat com.amazon.alexa.avs.App.main(App.java:31)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/comments/328439569","html_url":"https://github.com/alexa/alexa-avs-sample-app/issues/912#issuecomment-328439569","issue_url":"https://api.github.com/repos/alexa/alexa-avs-sample-app/issues/912","id":328439569,"user":{"login":"balaraju1278","id":24357910,"avatar_url":"https://avatars2.githubusercontent.com/u/24357910?v=4","gravatar_id":"","url":"https://api.github.com/users/balaraju1278","html_url":"https://github.com/balaraju1278","followers_url":"https://api.github.com/users/balaraju1278/followers","following_url":"https://api.github.com/users/balaraju1278/following{/other_user}","gists_url":"https://api.github.com/users/balaraju1278/gists{/gist_id}","starred_url":"https://api.github.com/users/balaraju1278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balaraju1278/subscriptions","organizations_url":"https://api.github.com/users/balaraju1278/orgs","repos_url":"https://api.github.com/users/balaraju1278/repos","events_url":"https://api.github.com/users/balaraju1278/events{/privacy}","received_events_url":"https://api.github.com/users/balaraju1278/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T07:18:40Z","updated_at":"2017-09-11T07:18:40Z","author_association":"NONE","body":"Hello JimmyChangJy,\r\n\r\nyour plugin should be look like this in pom.xml check once.\r\n\r\n<plugin>\r\n          <groupId>org.codehaus.mojo</groupId>\r\n          <artifactId>exec-maven-plugin</artifactId>\r\n          <version>1.2</version>\r\n          <configuration>\r\n            <executable>java</executable>\r\n            <arguments>\r\n              <argument>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn-boot.version}/alpn-boot-${alpn-boot.version}.jar</argument>\r\n              <argument>-Dlog4j.configurationFile=file:///${basedir}/log4j2.xml</argument>\r\n              <argument>-classpath</argument>\r\n              <classpath/>\r\n              <argument>-Djna.library.path=${env.VLC_PATH}</argument>\r\n              <argument>com.amazon.alexa.avs.App</argument>\r\n            </arguments>\r\n          </configuration>\r\n        </plugin>"}}
{"actor":{"display_login":"balaraju1278"}}