To run an application packaged as a JAR file (requires the Main-class manifest header) : Jar « Language « Java Tutorial






java -jar app.jar
1.3.Jar
1.3.1.Common JAR file operations
1.3.2.To invoke an applet packaged as a JAR file
1.3.3.To run an application packaged as a JAR file (requires the Main-class manifest header)
1.3.4.Sign jar with the certificate named alias in the keystore