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

Currently, with my install of Ubuntu 10.10, Java JARs by default open with file-roller. How can I set it so that when I double-click a JAR in Nautilus, it opens with Sun Java 6?

share|improve this question
up vote 4 down vote accepted

Right click on any .jar files and select properties. Click on the 'Open With' tab (usually the 4th tab). select Sun 'Java 6 Runtime'(if you are using sun Java otherwise select appropriate Java from the list). And click close to save the settings.

alt text

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.