Hi Boon Soon,
Try to set the windows's PATH to point to the directory that contains
the OCFPCSC1.DLL file.
This will correct your problem.
[ ]�s
Luciano da Silva Coelho
[EMAIL PROTECTED]
Sun Certified Programmer for JAVA2
Sun Certified Web Component Developer for J2EE
Sun Certified Instructor for JAVA2
Diretor de Tecnologia
e-Sec Tecnologia em Seguran�a de Dados
www.esec.com.br
----- Original Message -----
From: "Christophe Muller" <[EMAIL PROTECTED]>
To: "Boon Soon Lam" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 12:34 PM
Subject: Re: [OCF] java.lang.UnsatisfiedLinkError
> Hello,
>
> Boon Soon Lam wrote:
> >
> > Hi all, I encountered to following error message when trying to
> > run the "TestSim.class" program. What causes this error and how
> > to go around it?
> >
> > THanks to all,
> > Boon
> > ===============================================================
> > java.lang.UnsatisfiedLinkError: no OCFPCSC1 in java.library.path
>
> This message means that the Java system could not find the
> PC/SC dynamic library needed in order to access your card
> reader. It is actually looking for PC/SC because in an
> "opencard.properties" file somewhere, you have specified
> "com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory" as
> the "OpenCard.terminals" property (thus saying that you would use
> the PC/SC wrapper CardTerminal in order to access the readers).
>
> So, you have basically two choices to get rid of the error:
>
> 1) keep the specification of PC/SC but install PC/SC on your
> PC (I assume you are running a Win32 system) and also the
> right PC/SC drivers for your card reader, or
>
> 2) change your opencard.properties file to specify a pure-java
> CardTerminal (if it exists for your reader) and install the
> Java "Comm API" for your platform. More help on installing
> from scratch Java, the Comm API, and OCF is available at:
>
<http://www.gemplus.fr/developers/technologies/opencard/faqs/install-faq-qna
.html#s1>
> (one section for Unix systems and one for Windows).
>
> Note: in appendix of this FAQ, you will find a 'findOCP' program,
> contributed by Jan Peter Hecking, that will help you to find
> where OCF is looking for "opencard.properties" files.
>
> Hope it'll help.
>
> Cheers,
> Christophe.
>
> = They laughed at my Mac, it had no CLI. They laughed at Linux, =
> = it had no GUI. I installed MacOS X and shut them up. --gfprez =
> --
> -------------------------------------------------------------
> [EMAIL PROTECTED] - Gemplus Research Lab
> Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
> Gemplus doesn't speak for me... it is better that way!
> -------------------------------------------------------------
>
>
> ---
> > 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.
>
>
---
> 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.