You need to copy the javax.comm.properties file that comes with the Java
Communications API
into your Java.Home/lib directory.

Regards,
Jan Hecking


Dear all,

I'm trying to set up OCF1.1.1 on my laptop. But it doesn't seem working.
Is there any trick that I should know?

My configuration is:
Windows98
JDK1.1.8
OCF1.1.1
CAT: Gemplus GCR410
ICC: Gemplus MPCOS-EMV16K (ISO-compliant card, I hope..)

Here's what I've done so far:
1. SET CLASSPATH = .;
             C:\jdk1.1.8\src;
             C:\OCF1.1.1\lib;
             C:\OCF1.1.1\lib\base-core.jar;
             C:\OCF1.1.1\lib\base-opt.jar;
             C:\OCF1.1.1\lib\gemplus-terminals.jar;
             C:\OCF1.1.1\lib\comm.jar;%CLASSPATH%

2. Copy win32comm.dll into a PATH for classes using javax.comm.*.
3. Edit opencard.properties
     OpenCard.terminals = com.gemplus.opencard.terminal.
                    GemplusCardTerminalFactory|mygcr|GCR410|COM1
and put it into an application path.
4. Run a very basic sample program like the one in the manual using
PassThruCardService.

But what I've got was:

"CardTerminalException:
     javax.comm.NoSuchPortException"

Could anybody help me with pointing out what I've done this time again.
Or is there anybody who has a simple sample which works on your machine?




---
> 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/

Reply via email to