! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
cannot execute executable jar files
Status:
RESOLVED: FIXED

Comments

Description thomas 2011-05-30 23:21:05 CEST
I want to double click on a executable jar file to start it.
the jar file is marked executable:

$ ll
insgesamt 28
-rwxrwxr-x. 1 thomas thomas  3759 21. Apr 16:22 podsync.jar

I registered an binary format handler via systemd:

$ cat /etc/binfmt.d/java.conf 
# binfmt_misc support for executable Jar files:
:ExecutableJAR:E::jar::/usr/bin/jarwrapper:

in bash I can enter:
$ ./podsync.jar

and the program starts.

But in Thunar I cannot double click to start the program/jar file.

How to achive this?
Comment 1 Nick Schermer editbugs 2012-10-02 18:19:23 CEST
What is the mime-type?

You can use $(gvfs-info -a standard::content-type podsync.jar)
Comment 2 Harald Judt editbugs 2015-05-13 21:03:56 CEST
No feedback, closing.

Bug #7677

Reported by:
thomas
Reported on: 2011-05-30
Last modified on: 2015-05-13

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information