Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Javacard converting to CAP file

843851Jun 7 2010 — edited Jun 14 2010
I'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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2010
Added on Jun 7 2010
2 comments
498 views