Page 1 of 1
Trying Java Card Application On real smart card
Posted: Fri Nov 27, 2015 1:50 am
by mikegigom
I am an absolutely beginner for smart card. I'm going to write a simple application, and then try to install it to a real smart card.
How can I run my application on a real smart card? Should I need a connector first? Which tool must I have?
Re: Trying Java Card Application On real smart card
Posted: Wed Dec 02, 2015 7:48 am
by Tarantino
After writing your own java card applet in development environment, such as Eclipse,
JCIDE, Netbeans, you should complete the following steps to run it on a real smart card reader.
1. Convert the .java file to .class file
2. Convert the .class file to .cap file
For the first two steps, you can use converter tool in the JCDK.
3. Upload the .cap file into the card.
4. Install the uploaded applet.
5. Select your applet on the card using APDU commands.
6. Communicate with your applet.
You can go through
this topic to learn more. It may be helpful to you.