Hi
I have got a Towitoko chipdrive micro.
I want to use OCF for developing myown application.
When I tried to run a program which access the card
the following error occured.
---------- Java ----------
Starting SmartCard
java.lang.UnsatisfiedLinkError: C:\Program
Files\IBM\Java12\jre\bin\OCFPCSCM.DLL: One of the
library files needed to run this application cannot be
found
at java.lang.ClassLoader$NativeLibrary.load(Native
Method)
at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1360)
at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1282)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:771)
at
opencard.core.util.SystemAccess.loadLibrary(SystemAccess.java:111)
at
com.ibm.opencard.terminal.pcscmig.OCFPCSCM.loadLib(OCFPCSCM.java:64)
at
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory.open(PcscMigCardTerminalFactory.java:95)
at
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory.<init>(PcscMigCardTerminalFactory.java:66)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:254)
at
opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:424)
at
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
at
opencard.core.service.SmartCard.start(SmartCard.java:534)
at First.main(First.java:11)
Exception in thread "main" Normal Termination
My opencard.properties file is
###############################################################################
# opencard properties file
###############################################################################
# use the testing service factory (for sending APDUs)
OpenCard.services =
opencard.opt.util.PassThruCardServiceFactory
# use Gemplus card terminal for GCR410
# (For Windows, replace "/dev/ttyS1" by "COM1")
OpenCard.terminals =
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
readers.cfg� Reader[1] PORT_NUMBER = 1 READER_NAME =
TOWITOKO terminals DLL_NAME = gen_twk.dll
#######################
# TRACE configuration #
#######################
OpenCard.trace = opencard:4 com.ibm:4
com.gemplus.opencard.terminal:5
###############################################################################
I have put the ocfpcscm.dll file in <java home>jre\bin
directory
Can any one help me
Faisal
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---
> 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.