Hi
I was working on OCF and Gemplus readers for some
time.
Now I have got a Chipdrive Developer pack.
When I tried to 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 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
#######################
# TRACE configuration #
#######################
OpenCard.trace = opencard:4 com.ibm:4
com.gemplus.opencard.terminal:5
###############################################################################
I have put ODFPCSCM.dll file in -jre/bin directory
and gen_twk.dll in windows directory
Also the readers.cfg file in -jre/lib directory
Is anyother thing to be done
Any can help
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.