I have made a java swing program and created an executable jar file via jar cfm Game.jar MANIFEST.MF *.class
in terminal. When I try to run the jar file through terminal, it works fine. But when I try to run the file by double clicking the icon, nothing happens.
MANIFEST.MF:
Manifest-Version: 1.0
Main-Class: Game
I have mac os 10.6 and the default app to open jar files is jar launcher.