C H A P T E R 8 |
Generating a CAP File From a Java Card Assembly File |
Use the capgen tool to generate a CAP file from a given Java Card Assembly file. The CAP file that is generated has the same contents as a CAP file produced by the Converter. The capgen tool is a backend to the Converter.
The file to invoke capgen is a shell script (capgen) on the Solaris or Linux platform, and a batch file (capgen.bat) on the Microsoft Windows platform.
Command line syntax for capgen is:
capgen [-options] <filename>
where <filename> is the Java Card Assembly file.
The option values and their actions are:
Allows you to specify an output file. If the output file is not specified with the -o flag, output defaults to the file a.jar in the current directory. |
|
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.