Contents Previous Next Index

Chapter   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 which is generated has the same contents as a CAP file produced by the Converter. The capgen tool is a backend to the Converter.

Running capgen

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 2000 platform.

Command line syntax for capgen is:

capgen [-options] <filename> 

where <filename> is the Java Card Assembly file.

Command Line Options

The option values and their actions are:

TABLE 14  –  capgen Command Line Options
Option
Description
-help
Prints a help message.
-nobanner
Suppresses all banner messages.
-o <filename>
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.
-version
Outputs the version information.

 


Contents Previous Next Index Development Kit User's Guide for the Binary Release with Cryptography Extensions
Java Card Platform, Version 2.2.1