Bug 982447 - jar files must be opened with Java environment (java - jar) by default
Summary: jar files must be opened with Java environment (java - jar) by default
Status: RESOLVED WONTFIX
: 982666 1215020 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Java (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Enhancement (vote)
Target Milestone: ---
Assignee: Fridrich Strba
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 982666
  Show dependency treegraph
 
Reported: 2016-05-31 22:11 UTC by Forgotten User uWNQn8RHbv
Modified: 2023-09-06 05:37 UTC (History)
3 users (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User uWNQn8RHbv 2016-05-31 22:11:32 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
Comment 1 Andreas Stieger 2016-06-02 06:35:18 UTC
*** Bug 982666 has been marked as a duplicate of this bug. ***
Comment 2 Fridrich Strba 2017-11-23 15:33:12 UTC
This is not as good idea as that. Because only jar files that specify their classpath and main class can be auto-executed.
Comment 3 Fridrich Strba 2023-09-06 05:37:40 UTC
*** Bug 1215020 has been marked as a duplicate of this bug. ***