Hi,

get the source of "libOCFPCSC1.so" from www.linuxnet.com in the
MIDDLEWARE-Section.

Compile the source and install it (usually as root ;-))

Then copy "libOCFPCSC1.so" (usually located in
/usr/local/pcsc/lib) to JAVA_HOME/jre/lib/i386 ....
(make sure JAVA_HOME is set correctly!!)

Copy the "opencard.properties"-file form the directory where you unzipped
the source of libOCFPCSC1.so into the directory of the examples.

Start the PCSC-Server and run the demo programs.

Then everything should work fine ... I hope. ;-))

Frank


Am Fre, 09 Jun 2000 schrieben Sie:
> Hi,
> 
> I am trying to run demos in OCF, but I am not very familiar with java.
> 
> I have installed jdk1.2.2 and OCF1.2.
> I have compiled GetCardID.java in 
> /OCF1.2/components/sb-demo/src/demos/samples.
> When I run demos.samples.GetCardID, I get:
> 
> 
> 
> [root@localhost samples]# java demos.samples.GetCardID
> 
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no OCFPCSC1 in 
> java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1245)
> at java.lang.Runtime.loadLibrary0(Runtime.java:466)
> at java.lang.System.loadLibrary(System.java:774)
> 
> 
> 
> 
> Can someone tell me the steps to follow to run these demos?
> 
> Thanks.
> 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to