|
This release is provided for the Solaris™ Operating System (OS) release 8, Red Hat Linux version 7.2, and for Microsoft Windows 2000 (with Service Pack 4) as compressed Zip archives.
gcc version 2.96.
The supported SDK version is 1.4.1. If you are installing the SDK on the Solaris or Linux platform, make sure that all of the required patches are installed. To get more information, refer to the product documentation available at:
javax.comm. If you are not using the Development Kit to communicate with a card reader installed on a serial port, you can skip this step.
The package javax.comm can be found in the Java Communications API 2.0. To obtain the package, please visit Sun’s web site at:
Separate versions of the javax.comm API are available for the Solaris/SPARC, Microsoft Windows 2000, and Solaris/x86 platforms.
javax.comm API and install only the jar files.
Follow the instructions provided in the file Readme.html to install the package. Make sure that the comm.jar file is added to the CLASSPATH.
Download the zipped version of the OpenCard Framework Base package from the OCF web site:
Unzip the package into a separate directory.
There are three steps to install the Development Kit binaries. Separate sections cover installation for the Solaris, Linux, and Microsoft Windows 2000 platforms.
The Java Card Development Kit provides separate download files for the binary release for the Solaris and Linux platforms. For the exact names of the download files, see the Java Card Development Kit Release Notes for the Binary Release.
/javacard./javacard directory:
% cd /javacard
unzip utility. where Development_Kit_binary_distribution refers to the name of the bundle containing the binary release installation files for the Solaris or Linux platform.
The installation creates a directory java_card_kit-2_2_1 under /javacard. The /javacard/java_card_kit-2_2_1 directory is now the root of the development kit installation.
For a description of the files that are installed under java_card_kit-2_2_1, see "Files Installed for the Binary Release" .
JC_HOME to the installation directory. For example (using csh), if you unzipped the release in the directory /javacard:
Or, if you unzipped the installation into a different directory, define the environment variable JC_HOME accordingly.
JAVA_HOME to the directory where you installed your Java development tools. For example,The following optional path setting will enable you to run the Development Kit tools from any directory.
We suggest you automate these environment settings. Create a csh script file (named, for example, javacard_env.cshrc) which includes the setenv statements:
setenv JC_HOME /javacard/java_card_kit-2_2_1setenv JAVA_HOME /usr/j2sdk1.4.1setenv PATH .:$JC_HOME/bin:$JAVA_HOME/bin:$PATH:
Run the script file from the command prompt before running the Development Kit tools, samples, and demonstrations (refer to Chapter 3, "Development Kit Samples and Demonstrations”):
The Java Card Development Kit provides a separate download file for the binary release for the Microsoft Windows 2000 platform. For the exact name of the download file, see the Java Card Development Kit Release Notes for the Binary Release.
C: drive.where Development_Kit_binary_distribution refers to the name of the bundle containing the installation files for the Microsoft Windows 2000 platform.
In the Winzip dialog, choose Select All and Extract from the Actions menu. Enter C:\ into the Extract To field to unzip the contents of the zip file into that directory. (For more information, refer to the Winzip documentation.)
The java_card_kit-2_2_1 directory is the root of the Development Kit installation.
For a description of the files that are installed under java_card_kit-2_2_1, see "Files Installed for the Binary Release" .
JC_HOME to the installation directory. For example, if you unzipped the release in the root directory of the C: volume:
Or, if you unzipped the installation into a different directory, define the environment variable JC_HOME accordingly.
JAVA_HOME to the directory where you installed your Java development tools. For example,The following optional path setting will enable you to run the Development Kit tools from any directory.
We suggest you automate these environment settings. Create a batch file (named, for example, javacard_env.bat) which includes the set statements:
@echo offset JC_HOME=C:\java_card_kit-2_2_1set JAVA_HOME=c:\j2sdk1.4.1set PATH=.;%JC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
Run the batch file from the command prompt before running the Development Kit tools, samples, and demonstrations (refer to Chapter 3, "Development Kit Samples and Demonstrations”):
For Solaris, Linux, and Microsoft Windows 2000 Platforms:
To run the Java Card RMI demos, you must copy certain OpenCard Framework (OCF) jar files into the lib subdirectory of your JC_HOME directory.
<ocf_download_home>/OCF1.2/lib/ (on the Solaris and Linux platform) or <ocf_download_home>\OCF1.2\lib\ (on the Microsoft Windows 2000 platform) of the OCF installation. In this path, <ocf_download_home> represents the directory where OpenCard Framework files were unzipped.base-core.jar and base-opt.jar from this directory into the $JC_HOME/lib (Solaris or Linux platform) or %JC_HOME%\lib (Microsoft Windows 2000 platform) directory. TABLE 1
describes the files and directories that the binary installation procedure installs
under java_card_kit-2_2_1.
|
Directory/File
|
Description
|
|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
api_export_files
|
Contains the export files for version 2.2.1 of the Java Card API packages.
|
|||||||||||||
bin
|
Contains all shell scripts or batch files for running the tools (such as the
apdutool, capdump, converter and so forth), and the cref binary executable.
|
|||||||||||||
doc/en
|
The
api, devnotes, and guides subdirectories contain the English-language guides for this release:
|
|||||||||||||
lib
|
Contains all Java jar files required for the tools:
|
|||||||||||||
samples
|
Contains sample applets and demonstration programs.
For more information on the contents of this directory, see "Sample
Programs and Demonstrations".
|
|||||||||||||
COPYRIGHT_dom
|
(
COPYRIGHT_dom.txt on Microsoft Windows 2000) Contains the copyright notice for the product.
|
|||||||||||||
LICENSE.html
|
Contains the text of the license agreement.
|
|||||||||||||
RELEASENOTES.html
|
Contains important information about this release.
|
|||||||||||||
All samples are contained in the samples directory under JC_HOME. TABLE 2 describes the contents of the directory.
|
Directory/File
|
Description
|
|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
classes
|
Contains pre-built sample classes.
|
|||||||||||||
build_samples or
build_samples.bat
|
A script or batch file to automate building samples.
|
|||||||||||||
src
|
Contains the sources for the sample applets that belong to the packages
com.sun.javacard.samples.*.
|
|||||||||||||
src/demo
|
Contains all of the files needed to run the Java
Card demonstration programs. For more information on the contents of
the
demo directory, see "Directories
and Files in the demo Directory". |
|||||||||||||
src/com/sun/javacard/samples
|
Contains the source code for the sample applets.
|
|||||||||||||
src_client
|
Contains sample card acceptance device (CAD) client programs for the Photo Card, Java Card RMI, and secure Java Card RMI demos.
|
|||||||||||||
|
Development Kit User's Guide
for the Binary Release with Cryptography Extensions Java Card Platform, Version 2.2.1 |
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.