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?
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.
Ubuntu 22.04 solution: