Hi,
I think your problem is you didn't install the commAPI properly.
You have to :
copy the "win32com.dll" file in jdk1.3/jre/bin
copy the "javax.comm.properties" file in jdk1.3/jre/lib
copy the "comm.jar" file in jdk1.3/jre/lib/ext
and everything will work fine !
Hope this will help
cheers,
J.Fran�ois Grezes
GEMPLUS - Card Enabling Software
----- Original Message -----
From: Nicholas Schuetz <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 9:37 PM
Subject: RE: [OCF] java cooler
> I am new to java and I would really like some help. Could someone tell me
> where javax/comm/Commport is supposed to be?
> I am running Java2 jdk1.3 should I set my classpath to some specific area
or
> what? I have a GCR400 on COM1.
> |
> The problem is below \|/
> :
>
> C:\OPENCARD\OCF1.2\DEMOS>getcardid
> 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\b
> ase-opt.jar;C:\OpenCard\OCF1.2\lib\reference-servic
>
s.jar;C:\OpenCard\OCF1.2\lib\sb-demo.jar;C:\OpenCard\OCF1.2\lib\sb-demo-ext.
> jar;C:\OpenCard\OCF1.2\lib\reference-terminals-wind
> ws.jar;;C:\Opencard\OCF1.2\lib\gemplus-terminals-4.1.jar
>
PATH=C:\WINNT\system32;C:\WINNT;C:\ifor\WIN\BIN;C:\ifor\WIN\BIN\EN_US;L:\ubi
> q\bin32;D:\jdk1.3\bin;C:\OpenCard\OCF1.2\lib
> ------------------------------------------------------------
> Starting demo...
> ------------------------------------------------------------
> start use case: get a card ID
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/comm/CommPort
> at
>
com.gemplus.opencard.terminal.GemplusCardTerminalFactory.createCardTerminals
> (GemplusCardTerminalFactory.java:444)
> at
>
opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:
> 432)
> at
>
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261
> )
> at opencard.core.service.SmartCard.start(SmartCard.java:534)
> at demos.samples.GetCardID.main(GetCardID.java:66)
> Press any key to continue . . .
>
>
> Thanks in advance
> Nick
>
>
>
> ---
> > 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.
>
>
>
> ---
> > 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.
>
>
---
> 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.