Gmote in 64 bit Ubuntu
Gmote is an Android Remote.
I was having problem running the Ubuntu client on my 64 bit Lucid Lynx. Though the application was very easy to start, just run a script, it was not working. It was giving error like "Can't obtain static method fromNative from class com.sun.jna.Native" and "There was an error running the gmote server, Please visit http://www.gmote.com/faq for more information".
The solution was to fix the script by changing the java path. From,
I was having problem running the Ubuntu client on my 64 bit Lucid Lynx. Though the application was very easy to start, just run a script, it was not working. It was giving error like "Can't obtain static method fromNative from class com.sun.jna.Native" and "There was an error running the gmote server, Please visit http://www.gmote.com/faq for more information".
The solution was to fix the script by changing the java path. From,
java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing-worker-1.2.jar org.gmote.server.GmoteServerUiLinux &to:
/usr/lib/jvm/java-6-sun/jre/bin/java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing-worker-1.2.jar org.gmote.server.GmoteServerUiLinux &where, /usr/lib/jvm/java-6-sun/jre/bin/java happens to be my 64 bit java.
Thank you so much for that.
ReplyDeleteI reported your aticle to the Gmote team so they can place that in the FAQ or provide a 64bits version for Linux.
Thanks for looking into this.
ReplyDeleteRunning gmote with the original script, it starts and lets me browse my directories alright, but crashed when trying to execute a media file.
However, using your suggested change, I can't connect to my laptop with my phone. Nothing appears in the list, and direct IP does nothing.
Any idea why this happens?
My laptop is on 10.10, and my phone is a Nexus One running Android 2.2.1.
Cheers,
/Daniel