Javacard converting to CAP file
843851Jun 7 2010 — edited Jun 14 2010I'm trying to generate a .cap file for some applet source provided externally, and capgen/converter are throwing an IllegalArgumentException when I attempt to generate a .cap (either straight from .opt or using capgen on a pre-generated .jca file).
The output I'm getting is pretty basic even in verbose mode:
--
java.lang.IllegalArgumentException
Cap file generation failed.
conversion completed with 1 errors and 0 warnings.
--
I've tried with or without the -noverify flag.
I'm using Java JDK Standard Edition (build 1.4.1_02) to run the converter, and compile the source files. And I've tried the converter in the Sun Java Card Development kit 2.2.1.
also I'm using GlobalPlatform 2.1.1.
When using JDK 1.3 version, success generate CAP File.. but 1.4 version is throw java.lang.IllegalArgumentException.
Help me.. Thanks,
Edited by: StrangeWorld on Jun 7, 2010 6:19 PM