THUFIR HAWAT wrote:
from gnome, double-clicking on a .jar file I made just opens it. the
file's being treated like a .zip file, apparently, and isn't being
executed. the file does have a nice jar-icon with a bean in it,
though. the following works:
[thufir@localhost bin]$ java -jar HelloWorldSwing.jar
what's required to make the jar run with a double-click, please?
thanks,
Thufir
try making the file executeable, either with the GUI (which I am not
familiar with) or with the terminal with the follwoing command
chmod +x HelloWorldSwing.jar
Then to execute from the terminal just:
./HelloWorldSwing.jar