Comment 0 for bug 1245874

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Java JAR files are opened in file-roller instead of Java Runtime Environment

Steps to reproduce:
Install JRE, for example Oracle Java7
In File manager (nautilus) click on Jar file, for example download Minecraft.jar file from https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar

Actual result:
minecraft.jar file is opened in file-roller instead of Java Runtime Environment (but Java Runtime Environment can be choosed by right-click->Open With->Java7 Runtime)

Expected result:
.jar file should be opened in Java Runtime

This bug can be easily solved by remove lines:
application/x-jar=file-roller.desktop
application/x-java-archive=file-roller.desktop

from /etc/gnome/defaults.list file.

I can submit a patch if you like :)