User Tools

Site Tools


java_jar_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
java_jar_files [2010/05/05 05:16] 172.26.15.184java_jar_files [2010/05/22 14:19] (current) – external edit 127.0.0.1
Line 32: Line 32:
     * Your JAR file contains an applet that is to be run inside a browser.     * Your JAR file contains an applet that is to be run inside a browser.
     * Your JAR file contains an application that is to be invoked from the command line.     * Your JAR file contains an application that is to be invoked from the command line.
-    * Your JAR file contains code that you want to use as an extension. 
  
-This section will cover the first two situations. A separate trail in the tutorial on the extension mechanism covers the use of JAR files as extensions.+This section will cover the first two situations.  
 + 
 +TO sign a jar file you first need to generate a key: 
 + 
 +<code>keytool -genkey -keystore artemis -alias signLegal</code>
  
 Sign jar files: Sign jar files:
  
-<code>arsigner -keystore artemis -signedjar sartemis.jar artemis.jar signLegal </code>+<code>jarsigner -keystore artemis -signedjar sartemis.jar artemis.jar signLegal </code> 
 + 
 +Passphrase:<code>evilliers</code>
  
 Applets Packaged in JAR Files Applets Packaged in JAR Files
java_jar_files.txt · Last modified: 2010/05/22 14:19 by 127.0.0.1