This discussion is archived
2 Replies Latest reply: Jun 7, 2013 12:23 AM by ReNa RSS

JCardSim problem

936354 Newbie
Currently Being Moderated
I have a script file like this.

// Select TimeAttend //aid/1B85451EEB/C91E
0x00 0xA4 0x04 0x00 0X07 0X1B 0X85 0X45 0X1E 0XEB 0XC9 0X1F 0x7F;

In my hostApp, I've JCardSim with me.
Then the source code,
 public HostApp(String testName)  {
        simulator = new Simulator();
        byte[] appletAIDBytes = new byte[] { (byte) 0X1B, (byte) 0X85, (byte) 0X45, (byte) 0X1E,
           (byte)0XEB, (byte) 0XC9, (byte) 0X1F, };
        AID appletAID = new AID(appletAIDBytes, (short) 0, (byte) appletAIDBytes.length);
        simulator.installApplet(appletAID, TimeAttend.class);
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com.walker.TimeAttend

But the line simulator.installApplet fails, why?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points