Hi everybody,

Attached is the sample code for reading file from smartcard. This example
has been downloaded from the
http://www.opencard.org/SCJavaBook  site.
We have got the IBM's java card with the required applets loaded on to it.
We have got the Gemplus's Gcr410p card reader as well.
    WE have OCF installed in our system. (installOCF.class from  OCF
site....)


But when we tried to run the ReadFile class, it gives the following
exceptions.

Reading file from smart card...
java.lang.ClassNotFoundException: <insert
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:124)
        at
opencard.core.service.SmartCard.handleTerminalFactoryEntries(Compiled
 Code)
        at
opencard.core.service.SmartCard.configureTerminalRegistry(Compiled Co
de)
        at opencard.core.service.SmartCard.start(SmartCard.java:534)
        at samples.readfile.ReadFile.main(ReadFile.java:14)

Could anybody please tell us if we need to install anything else?? OR what
could be the problem?

ReadFile.java

Reply via email to