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?


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.