08.16.10 - 12.12.10
Introduction to Java Programming
Monday Wednesday
04:00 PM - 05:20 PM
Create a JAR file for a Java Application
Create a Manifest Update file
Next, Create a text file that will be used to update the default manifest file that was created in the previous step.
The file can be called anything you would like. I will call the file update.txt for this example.
The file update.txt should contain two lines:
Main-Class: Labxx
Sealed: true
'Labxx' on the first line of the update.txt file should be the name of the class file in your JAR that contains the main method. The class extension should NOT be included!!!
It is EXTREMELY important that you press the enter key after you type every line!!! The way the JAR parser works is that if there is not a CR/LF (enter key) after the last line it will be ignored.