You should release a GmoteServer.sh for 64bits -- here is the solution

13 views
Skip to first unread message

leonnib4

unread,
Jan 6, 2011, 5:52:27 PM1/6/11
to gmote users
Hi,

I had to search a little to get Gmote Server working on Ubuntu 10.10
64bits.
Here I found the solution:

http://techspalace.blogspot.com/2010/10/gmote-in-64-bit-ubuntu.html

Errors were:
"Can't obtain static method fromNative from class com.sun.jna.Native"
or
"There was an error running the gmote server, Please visit http://www.gmote.com/faq
for more information"

But nothing is in the FAQ to fix that 64bits-related issue.

Here is how to fix it (replace in GmoteServer.sh):
java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing-
worker-1.2.jar org.gmote.server.GmoteServerUiLinux &
by
/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 &

Maybe the Gmote team should release a 64bits version for GNU/Linux or
AT LEAST put this in the FAQ.

Hope it helps,

Alan SCHNEIDER
Reply all
Reply to author
Forward
0 new messages