If you have an appliation that you want to package so that it can be executed using a command like:
java -jar myjarfile.jar arg1 arg2
you will need to create the ".jar" file properly. This means that the class containing the main method must be identified and that you have included any necessary support ".jar" files. You must also include a class path.
No comments:
Post a Comment