did you intend to broadcast this email ?
---------------------- Forwarded by George M Ganak/NVSPHQ/NAVSUP on 12/23/99
07:21 AM ---------------------------
"Davy Nys" <[EMAIL PROTECTED]> on 12/23/99 07:18:03 AM
To: <[EMAIL PROTECTED]>
cc:
Subject: [OCF] OCF1.1.1 in VisualJ++ 6.0
Hello,
�
I'm a new at Java & Smart card development so could any one explain me how to
install OCF1.1.1 in a MS VisualJ++ 6.0 environment.
�
My OCF-directory is d:\OCF1.1.1 and I've already installed the OCF-package
from Gemplus for my GemPC410.
�
I set the following items in the project CLASSPATH:
�
��� D:\OCF1.1.1\LIB\gemplus-terminals.jar
��� D:\OCF1.1.1\LIB\base-opt.jar
��� D:\OCF1.1.1\LIB\base-core.jar
�
But the following program won't work(from Smart Card JavaBook):
�
import opencard.core.service.SmartCard;
import opencard.core.service.CardRequest;
import opencard.opt.iso.fs.FileAccessCardService;
import opencard.opt.iso.fs.CardFile;
�
public class OCF
{
�public static void main(String[] args)
�{
��System.out.println("reading from card");
��try
���SmartCard.start();
��}�catch (Exception e) {
���e.printStackTrace();
��}�finally
���try
����SmartCard.shutdown();
���} catch (Exception e)
����e.printStackTrace();
���}
��}
��
�}
}
�
�
I get the following error:
�
��� java.lang.ClassNotFoundException:
com/gemplus/opencard/terminal/GemplusCardTerminalFactory
�
Can anyone help and say what I have to step by step.
�
Thanks,
�
Davy
______________________________________________________________________
Visit our World Wide Web site at: http://www.navsup.navy.mil
---
> 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.