![]() |
The Java Developers Almanac 1.4 |
|
e384. Creating and Signing a JAR File Using jarsigner // Create the jar file
> jar cf myjar.jar MyClass.class
// Sign it with the certificate named alias in the keystore
> jarsigner -keystore .keystore -storepass password myjar.jar alias
e381. Listing the Main Attributes in a JAR File Manifest e382. Creating a Manifest for a JAR File e383. Writing a JAR File Manifest to a File © 2002 Addison-Wesley. |