Hi, It looks like an environment settings problem. OCF's examples have a code like this but it works properly. And i want to say that : OCF examples and specs more technical and detailed for new users; we don't have enough code about reading and writing to smartcard ! I think most of programmers will have difficulties at theirs first experience about coding. I am a beginner at the OCF programming and it is difficult to coding-compiling read or write program because i don't have enough information or explained code how can i use this api in my code. Good luck. Engin. > -----Original Message----- > From: Manorama VM [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2001 11:27 AM > To: [EMAIL PROTECTED] > Subject: [OCF] help please! > > > Hi everybody, > > Attached is the sample code for reading file from smartcard. > This example > has been downloaded from the > http://www.opencard.org/SCJavaBook site. > We have got the IBM's java card with the required applets > loaded on to it. > We have got the Gemplus's Gcr410p card reader as well. > WE have OCF installed in our system. (installOCF.class from OCF > site....) > > > But when we tried to run the ReadFile class, it gives the following > exceptions. > > Reading file from smart card... > java.lang.ClassNotFoundException: <insert > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:124) > at > opencard.core.service.SmartCard.handleTerminalFactoryEntries(Compiled > Code) > at > opencard.core.service.SmartCard.configureTerminalRegistry(Compiled Co > de) > at opencard.core.service.SmartCard.start(SmartCard.java:534) > at samples.readfile.ReadFile.main(ReadFile.java:14) > > Could anybody please tell us if we need to install anything > else?? OR what > could be the problem? > ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup --- > 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.
