Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I am having problems installing the gmote server for linux (12.04 lts0 java jre is installed (i think)

anton@anton-VGN-NW11S-T:~$ '/home/anton/Downloads/ 
Starting GmoteServer 2.0 ... 
GmoteServer started. 
anton@anton-VGN-NW11S-T:~$ Exception in thread "main" 
java.lang.NoClassDefFoundError: org/gmote/server/GmoteServerUiLinux 
Caused by: java.lang.ClassNotFoundException: 
    at Method) 
    at java.lang.ClassLoader.loadClass( 
    at sun.misc.Launcher$AppClassLoader.loadClass( 
    at java.lang.ClassLoader.loadClass( 
Could not find the main class: org.gmote.server.GmoteServerUiLinux. 
Program will exit. 

Is this a problem with the tar.gz file or is java not installed.... Thanks

share|improve this question
could you edit the question to use code blocks (start and end with `) to make the console dump easier to read please – jackweirdy May 13 '12 at 16:54
@jackweirdy I have edited already. – geoh May 13 '12 at 16:57

Looks like a problem with the program; you'd better try the support forums/ troubleshooting pages for the software itself.

share|improve this answer

The trick is not to "sh", you must start it by


in my case i made a File /usr/bin/GmoteServer (executable!) with content

cd /usr/lib/GmoteServerLinux2.0.0 && ./

and i copied the whole Folder "GmoteServerLinux2.0.0" into /usr/lib. ("sudo nautilus")

The alternative script works not for me:

echo "Starting GmoteServer 2.0 ... " 
java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing- 
worker-1.2.jar org.gmote.server.GmoteServerUiLinux & 
echo "GmoteServer started."

--> Didn't Work: swing-worker-1.2.jar not found.

(Source: Google Groups, "Matze")

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.