Roberto,
Take a look to see if javax.comm.properties is in the jdk1.2/jre/lib directory and
the jdk1.2/jre/bin is *before* jdk1.2/bin in the PATH.
Jes�s Pa�l
Roberto Ballinas wrote:
> These are the things that i have:
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> COMM API Version 2.0
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> Classic VM (build JDK-1.2.2-002, native Threads, symcjit)
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
>
> I have to tell you that with SDK 1.1.8 the samples run without any problem.
> I also have to tell you that i have copied the comm.jar, the comm32.dll or
> something like that where it is supposed to be and i have installed OCF 1.2 on
> JDK 1.2.2 running, so i don't think this is a configuration problem, perhaps i
> need some kind of patch.
> This is the error Message when i try to run the OCF's samples with SDK 1.2.2
> or 1.3
>
> Setting up environment
> (Edit C:\OpenCard\OCF1.2\\demos\setenv.bat
> to change these settings.)
> -------------------------------------------
> OCF_INSTALLDIR = C:\OpenCard\OCF1.2\
> OCF_CLASSPATH = C:\OpenCard\OCF1.2\LIB\base-core.jar;
> C:\OpenCard\OCF1.2\LIB\base-opt.jar;
> C:\OpenCard\OCF1.2\LIB\referemce-services.jar;
> C:\OpenCard\OCF1.2\LIB\sb-demo.jar;
> C:\OpenCard\OCF1.2\LIB\sb-demo-ext.jar;
> C:\OpenCard\OCF1.2\LIB\reference-terminal-windows.jar;
> C:\OpenCard\OCF1.2\LIB\comm.jar;
> C:\OpenCard\OCF1.2\\LIB\gemplus-terminals.jar;
> C:\OpenCard\OCF1.2\LIB\comm.jar;
> C:\JDK122\LIB\reference-terminals-windows.jar;
> PATH = C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK122\BIN;C:\OPENCARD\OCF1.2\LIB
> C:\OPENCARD\OCF1.2\LIB;C:\OPENCARD\OCF1.2\LIB;
> ---------------------------------------------------
> Starting demo...
> ---------------------------------------------------
> Start use case: get a card ID
>
> CardTerminalException:
> javax.comm.NoSuchPortException
>
> finished use case: get a card ID
> -----------------------------------------------------
> Press Any Key to Continue
>
> Any help would be welcomed.
>
> I would like to start developing with 1.2.2 since by the time i realese the my
> application that SDK will be more standard.
> Regards
>
> Roberto Ballinas
>
---
> 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.