Super User is a question and answer site for computer enthusiasts and power users. 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

In Windows, when I double-clicked on a JAR file it would run the encapsulated Java program. In Ubuntu, all I get is a list of files stored in the JAR file. Is there a way to configure Ubuntu to run the program instead?

share|improve this question
up vote 3 down vote accepted
  • Right click on any .jar file
  • Select properties
  • Navigate to the open with tab in the properties window
  • Check off Sun java 1.x.x Runtime then hit OK

of course, your version may vary, so replace 1.x.x with your version of the runtime.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .