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

Reply With Quote

