Monday, January 20, 2014

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 "Cant 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.
download
alternative link download

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.