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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Need to debug a Javacard Applet with external client using Eclipse

Praveen BaratamMay 8 2025

Hello Everyone

I am quite new to the Javacard Development and JC Eclipse Plugin

I have setup everything and am able to debug our applet using built in commands “Load, Install, Select” but when I am trying to use an external client to debug the same… I am facing issues

Normally, we would use gp.jar to load the applet into the javacard and use our client to interact with the applet in the card. This work flow also works fine for me.

I have setup the pc/sc reader configuration as suggested and when I start the debug session and run our client -

python3 client.py
Available readers:
[0] Oracle JCSDK PCSC Reader 1 00 00
[1] Oracle JCSDK PCSC Reader 2 01 00
Select a reader (enter the number): 1
Using reader: Oracle JCSDK PCSC Reader 2 01 00
Connected to card: 3B 9F 96 81 31 FE 45 4F 52 43 4C 2D 4A 43 33 2E 32 47 50 32 2E 33 23
Selecting applet with AID: xx xx xx xx xx xx xx
Response:
Status: 0x6a82
Status: Error - 0x6a82
Failed to select applet
Could not select the applet. Make sure it's properly installed.

How do we load the applet and install it from client? Is there a way to load and install the applet when the simulator starts in Eclipse?

Comments
Post Details
Added on May 8 2025
1 comment
126 views