Thread moved from 'What's wrong with my code', as you've posted no code.

Run the jar via the command line (java -jar myjar.jar), you can then see what - if any - exceptions may be thrown to help...