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!

java card unit tests using jcardsim, Netbeans and java card 2.2.1

p_freshMar 6 2014 — edited Mar 31 2014

Hi,

Has anyone any experience in using jCardSim (jCardSim | Java Card Runtime Environment Simulator) simulator in combination with Netbeans IDE to write unit tests for java card applets?

In particular, I created one Java card project to write my applet code and one Java class library project where I wrote my test code. My problem is that the simulator.installApplet(appletAID, MyApplet.class) method of jCardSim always fails. I guess this is due to the fact, that I developed the applet using Netbeans Bundled Java Card 3.0.2 Runtime. jCardSim only supports Java Card v.2.2.1.

Is there a possibility to work with Netbeans and the Java Card Development Kit v.2.2.1? Should I switch to Eclipse and JCOP tools?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2014
Added on Mar 6 2014
1 comment
1,821 views