Hi,
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?
thanks
Java Question
Re: Java Question
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:
Just run in cmdline and check console output:
Code: Select all
java -jar test.jar