Any questions? Need some help?
- Posts: 1
- Joined: 14 Jan 2013, 16:30
I wanted to know how come your Jar starts the program when I double click on it and my created jar (containing main class entry in the manifest) does not?
Is there another trick you are using?
- The Source
- Posts: 18541
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
Nope, that's it. You'll just need to have Main-Class in the manifest and .jar extension has to be associated with Java.
Just run in cmdline and check console output: