2 Replies Latest reply: Jul 26, 2012 1:29 PM by 952006 RSS

    JAVACARD development environment???

    952006
      Hello everyone

      I am a beginner of javacrad development, I built a environment like this:
      Eclipse V3.3.2
      JRE 7
      Plugin JCDE0.1
      JCDK 2.2.2
      JCOP Tools 3.1.1.b already activate

      but I found there are some errors for this environment.

      1. I can not generate CAP file both use JCOP or JCWDE even using a sample applet.

      For JCOP
      cm> upload -d "C:\Users\tang\workspace\Tang\bin\Tang_Test\javacard\Tang_Test.cap"
      jcshell: Cannot read <C:\Users\tang\workspace\Tang\bin\Tang_Test\javacard\Tang_Test.cap>: java.io.FileNotFoundException: C:\Users\tang\workspace\Tang\bin\Tang_Test\javacard\Tang_Test.cap
      cm> install -i 48656c6c6f776f726c64 -q C9#() 5448576f726c64 48656c6c6f776f726c64
      => 80 E6 0C 00 24 07 54 48 57 6F 72 6C 64 0A 48 65 ....$.THWorld.He
      6C 6C 6F 77 6F 72 6C 64 0A 48 65 6C 6C 6F 77 6F lloworld.Hellowo
      72 6C 64 01 00 02 C9 00 00 00 rld.......
      (1880 usec)
      <= 6A 88 j.
      Status: Reference data not found
      jcshell: Error code: 6a88 (Reference data not found)
      jcshell: Wrong response APDU: 6A88

      For JCWDE

      Java Card 2.2.2 Class File Converter, Version 1.3
      Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
      conversion completed with 1 errors and 0 warnings.
      error: Lan.LanHW: unsupported class file format of version 50.0.


      Does anyone know how to resolve this problem?

      Thanks a lot.