Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 know I can just double click it and it will run, but i want something I don't need my desktop for, and can put it in the sidebar. I have a command, but creating a launcher isn't working.



share|improve this question

If it's a Jar, then you have to

java -jar filename.jar

else if it's a jnlp

javaws filename.jnlp

I hope that works

share|improve this answer
If it has been compiled using 'java', then you can use 'javac' to run the executable. – harisibrahimkv May 3 '12 at 10:29

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.