Bugzilla – Bug 982447
jar files must be opened with Java environment (java - jar) by default
Last modified: 2023-09-06 05:37:40 UTC
.jar files should be opened with java -jar by default in all the Desktop environments instead of Ark (as a simple compressed file). Even the simple option to "open with Java" cannot be used without typing java -jar, because Openjdk 7 and 8 dont create .desktop files in /usr/share/applications, as Openjdk 6 do (openjdk-6-java.desktop). The same bug has found in Ubuntu, more information at https://bugs.launchpad.net/ubuntu/+source/desktop-file-utils/+bug/1474379
*** Bug 982666 has been marked as a duplicate of this bug. ***
This is not as good idea as that. Because only jar files that specify their classpath and main class can be auto-executed.
*** Bug 1215020 has been marked as a duplicate of this bug. ***