Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is possible to running gmote server (android HID - mouse keyboard controller) on the device? I've tried to run it but it says me:

.. "./GmoteServer.sh: line 2: java: command not found"

Here you can get the file http://www.gmote.org/server

Ideas? Thanks

share|improve this question
Have you installed Java? – Alex Chamberlain Oct 27 '12 at 21:01
Yes Alex, trough.. sudo apt-get install openjdk-6-jre and now when i start gmote server, it give me this error.. 28-Oct-2012 10:59:56 org.gmote.server.GmoteServerUi sharedMain WARNING: Gmote Version: 2.0.0 28-Oct-2012 10:59:56 org.gmote.server.GmoteServerUi sharedMain WARNING: OperatingSystem: Linux 28-Oct-2012 11:00:57 org.gmote.server.GmoteServerUi sharedMain SEVERE: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path – malgaboy Oct 28 '12 at 13:14
up vote 0 down vote accepted

Maybe you came across the same issue as in this forum discussion. Give it a try and specify the path to the JNA lib by the system parameter jna.boot.library.path. Add the option -Djna.boot.library.path=/usr/lib/jni to the java call in your GmoteServer.sh and see whether it works.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.