Hi muscles,
Richard Chen wrote:
...
> export
>
CLASSPATH=.:/usr/local/OpenCard/OCF1.2/lib/base-core.jar:/usr/local/OpenCard/OCF1.2/lib/base-opt.jar:/usr/local/OpenCard/OCF1.2/lib/pcsc-wrapper-src.jar:/usr/local/OpenCard/OCF1.2/lib/reference-services.jar
> java smartcard.OCF.app.LoadCFlexAccess32 -load CardEdge.bin
>
> Address:
> Name: ez100nr 0 0
> Type: PCSC10
> Slots: 1
>
> Info for slot ID: 0
> card present: yes
> ATR: 3B 17 13 9C 12 02 01 01 07 40
> Insert your card ...
> java.lang.ClassNotFoundException: CardService implementing class
> smartcard.OCF.service.CFlexAccess32Loader
>
...
Looks good, though reference-services.jar is not needed. The Exception
is typically thrown, if the configured CardServiceFactory implementation
does not know the given ATR, but the ATR cannot be the problem, it's the
right one.
CardServiceFactories are configured in opencard.properties. The line
should look like:
OpenCard.services = \
smartcard.OCF.factory.CFlexAccessCardServiceFactory
The loader package comes with an opencard.properties file in the top
level directory. If you have another opencard.properties, let's say one
that is left from the OCF installation in $JAVA_HOME/jre/lib, remove it
or replace it with the opencard.properties from the loader package.
HTH
Martin
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle