Executing a jar double-click style in Linux
here a way i tried(worked in Fedora 6):
Step 1 : Right Click the jar file choose Properties->Open with->click
Add->use a custom command->browse (now searc for the dir
containing jre(Java Runtime Enviornment) folder ). on my machine
its in 'usr -> local -> jdk1.6.0_07 -> jre-'(Wherever jre folder is
located) open the lib folder (in jre only) add choose 'jexec' and
click open and add it.
Step 2 : Now it will be seen selected in the Properties window (if not select
Step 3: Click the Permission tab in the Properties window and select the
Check box "Allow Executing this file as Program."