Development Kit User’s Guide
Java Card 3
Platform, Version 3.0.2
Connected Edition
12-14-09
Contents |
Part I Setup, Samples and Tools
Connected Edition Security Model
Prerequisites to Installing the Development Kit
Install and Setup the Development Kit
Installing
the Development Kit
Setting
Up the System Variables
Installed Directories and Files
Directories and Files Installed From All Bundles
Subdirectories and Files Installed in the src Directory
Install and Setup the NetBeans IDE
Setting
Up the Java Card Platform
3. Developing Java Card 3 Platform Applications
Running
the Samples from the NetBeans IDE
Accepting
an Untrusted Certificate
Using the Web Application Sample
Using the Classic Applet Sample
Using the Extended Applet Sample
5. Starting the Java Card Runtime Environment
Starting cjcre.exe from the Command Line
cjcre.exe Command Line Options
Java Card Runtime Environment Configuration Files
Running the Compiler Tool from the Command Line
7. Creating and Validating Application Modules
Running the Packager From the Command Line
8. Loading and Managing Applications
Description of the On-Card Installer
On-card Installer Functionality
Description of the Installer Tool
Running the Installer Tool From the Command Line
9. Backwards Compatibility for Classic Applets
Generating Application Modules From Classic Applets
Running the Normalizer From the Command Line
Converting Class Files to CAP Files
Creating a debug.msk Output File
Verification of Input and Output Files
File and Directory Naming Conventions
Output File Naming Conventions
Running the Converter From the Command Line
Using a Command Configuration File
Using Delimiters with Command Line Options
Running the APDU Tool From the Command Line
Examples of Using the APDU Tool
Directing Output to the Console
APDU Script Preprocessor Commands
Running the Debugger From the Command Line
Debugging a Java Card 3 Platform Application
Attach the Debugger to the IDE
Run cjcre.exe With -debug Option
Part II Programming With the Development Kit
Creating Custom Protection Domains
13. Building the RI From Sources
Prerequisites to Building the RI
Contents of JC_CONNECTED_HOME\src Folder
Running the ROMizer Tool From the Command Line
Example Contents of Apps List File
Preprocessor Symbols to Customize the VM
Build
a Custom RI From the Command Line
APDU I/O Classes and Interfaces
To Establish a T=0 Connection To a Card
To Power Up And Power Down the Card
A. Application Module and Library Formats
Extended Applet Application Module Distribution Format
Classic Applet Application Module Format
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.