×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Loading Applet into NFC 6131 Secure Element

    Hi,

    I working to load a applet (.cap) into a Java Card (Nokia 6131 NFC Secured Element) using Java Card Development Kit 2.2.2

    I using the following version: JDK: 1.6.01
    JC Kit: 2.2.2
    Comm API: 2.0

    I trying to load a sample CAP file that come with Nokia NFC 6131 SDK 1.1.
    I generate the APDU script using scriptgen.

    And i got these different error.
    If i used pcsc mode, i need to select a CL reader instead, but i dont know how.

    Here the error.

    *apdutool2 is the same as apdutool provide in the Java Card Kit just that i change the java exe from %JAVA_HOME%/bin/java to java

    C:\java_card_kit-2_2_2\bin>apdutool2 -pcsc -verbose -s COM3 script.scr
    Java Card 2.2.2 APDU Tool, Version 1.3
    Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    WARNING: PC/SC is not officially supported and may not work on all platforms.
    Sending POWERUP
    Before SCardEstablishContext ...
    After SCardEstablishContext ...
    SUCCESS ...-855572480
    Reader 0 : OMNIKEY CardMan 5x21 0
    Reader 1 : OMNIKEY CardMan 5x21-CL 0
    Using reader OMNIKEY CardMan 5x21 0
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key pcsc.6
    java.lang.NullPointerException
    Exception while getting ATR

    Second.

    C:\java_card_kit-2_2_2\bin>apdutool2 -verbose -s COM3 script.scr
    Java Card 2.2.2 APDU Tool, Version 1.3
    Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    Opening connection to local reader on port COM3.
    Connected.
    Sending POWERUP
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.javacard.apdutool.ReaderWriter.run(Unknown Source)
    at com.sun.javacard.apdutool.Main.main(Unknown Source)

    Anyone have successful loaded the applet or have any tool to communication with the tools and card?
    Please Help. Thanks

  2. #2
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    Re: Loading Applet into NFC 6131 Secure Element

    Hi,

    I have received the same error messages. Have you found a solution yet?

    Regards,
    Reto

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Re: Loading Applet into NFC 6131 Secure Element

    Use Java Card 2.2.1
    And use GPShell to load the Applet

Similar Threads

  1. Nokia 6131 NFC and Secure Element of a MiFare SmartCard
    By j.delinselle in forum Near Field Communication
    Replies: 2
    Last Post: 2009-11-05, 08:56
  2. Nokia 6131 NFC SDK v. 1.1 has been released!
    By Raluca_ in forum Near Field Communication
    Replies: 8
    Last Post: 2008-05-29, 13:54
  3. Using the secure element of 6131
    By lore1505 in forum Near Field Communication
    Replies: 1
    Last Post: 2007-09-27, 15:21
  4. Detecting the Secure Element of the 6131 with another 6131
    By tfroidcoeur in forum Near Field Communication
    Replies: 3
    Last Post: 2007-09-05, 08:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×