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!

Reading from a card reader

843851Dec 8 2003 — edited Dec 12 2003
Hi guys,

I am having a bit of a problem trying to get my smartcard host application to read from the reader. I have a schlumbergerSema v2 USB reader. Using JCOP I have installed the applet to the card and ran some send commands and everything works well. For practice I am trying to use the host APP that came with JCOP, the counterterminalAPP . I know the application is installed on the card because I have checked through JCOP and other tools I have found on the web.

according to the readme file this is what you type to launch the app

java -classpath "/JCOPTools22/bin/jcop2.jar;." CounterTerminalApp Native pcsc:4

So when I start the counter host app, it throws this error

java.lang.UnsatisfiedLinkError: no jct in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: init
at com.ibm.jc.terminal.NativeJCTerminal.init(Native Method)
at com.ibm.jc.JCTerminal.getInstance(Unknown Source)
at CounterTerminalApp.main(CounterTerminalApp.java:50)

and when I type the same thing but instead of Native I type native I get this error

java.lang.UnsatisfiedLinkError: no jct in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: setup
at com.ibm.jc.terminal.NativeJCTerminal.setup(Native Method)
at com.ibm.jc.terminal.NativeJCTerminal.<init>(Unknown Source)
at com.ibm.jc.JCTerminal.getInstance(Unknown Source)
at CounterTerminalApp.main(CounterTerminalApp.java:50)

what does it all mean and how can I get this to work ?

Does this have anything to do with the driver for the USB reader?
I have followed the instructions in the readme file to a T, but just can't get it working right.

Any advice would be greatly appreciated.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2004
Added on Dec 8 2003
6 comments
325 views