Hi,
what is the O.S?
If windows 2000, ME or NT4 with PC/SC please consider using the OCF to
PC/SC wrapper, or deactivate the GCR410P within PC/SC (use config pannel,
system, hardware).
If PC/SC runs and you do not want to deactivate your reader within this
framework, add following line to your opencard.properties:
OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
This implies having download the wrapper and install it.
For OCF pure Java CardTerminal, yes you need to install the right com api
within your JDK/JRE (please visit SUN's site).
FYI: GCR410p is plug&play reader, automatically recognized if PC/SC is
activated (NT4 with right PC/SC service or WINDOWS 2000/ME). If recognized,
com port is locked by PC/SC, and no one can access it (hence nor can OCF).
Rgds,
CH
At 13:58 03/04/2001, Manorama VM wrote:
>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?
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.