Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

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
3  
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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.