Jar runs from terminal but not from Finder...

btoth

Person that uses a Mac
So I built my first Java app in Xcode (a number guessing game - just to get used to the class libraries) and compiled it into a jar file. Well, the programs works great from the Terminal using $ java -jar AppName.jar but if I double-click it from the Finder, it doesn't launch. However, java itself runs in the background and takes up all my CPU until I force quit it.

Does anyone know what might be going on?
 
Back
Top