Skip to Main Content

Java Card

Announcement

Testing banner

What Sould I prepare For Java card? I download some files..

843851Jan 21 2009 — edited Mar 29 2009
Hi,
My name is Albert
I am just started to developing an application using java card. For this first step I want to focus on the Applets.

I am Using Net bean 6.5 and jdk1.6.0_11. And using windows xp OS.
and I already download :
-java_card_kit-2_2_2-windows.zip
-java_card_kit-3_0-doc-spec-rr-11_apr_2008.zip
-java_card_kit-2_2_2-fr-spec.zip
-apache-ant-1.7.1-bin.zip

And here steps that I done :
1. After I download I putt all the library to Net bean, and i pick from this path;
-C:\java_card_kit-2_2_2\java_card_kit-2_2_2-rr-ant-tasks\ant-tasks\lib\*.jar
-C:\java_card_kit-2_2_2\java_card_kit-2_2_2-rr-bin-windows-do\lib\*.jar
-C:\apache-ant-1.7.1\lib\*.jar

2. And Create file "jpcsclite.properties" on C:\apache-ant-1.7.1\bin that contains:
lib.path=C:\java_card_kit-2_2_2\java_card_kit-2_2_2-rr-bin-windows-do\bin

3. Edit autoexec.bat
@echo off
set JC_HOME = c:\java_card_kit-2_2_2\java_card_kit-2_2_2\ java_card_kit-2_2_2-rr-bin-windows-do
set JAVA_HOME =c:\Program_files\java_jdk1.6.0.11
set APACE_HOME =c:\apache-ant-1.7.1
set PATH : .;%JC_HOME%\bin;%JAVA_HOME%\bin;%APACHE_HOME%\bin;%PATH%

4.Read the Writing a Java Card Applet article that have the wallet.jar source code..
http://developers.sun.com/mobility/javacard/articles/intro/Wallet.java

But i really confuse how to run this applet. Although I already read the Instalation Guide but not really describe much... that I hope.


And I have some question: (sorry iam really new bie)
1.These javacard.applet cannot be run at a same as java.applet. But how to run this applet? Do the Applet only can work in Java Card Device? (Wallet.java)
2. Are There emulators that we can run the javacard.applet without put applet into the Card?
3. And what the jcop and javacard manager?

Iam really need your help..

Regard's

Albert
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2009
Added on Jan 21 2009
52 comments
444 views