Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

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.