Hi, I'm new to this list, but I have already gone through this problem.
First of all, you don't HAVE TO compile the examples. They are all
precompiled in the $OPENCARD_HOME/OCF1.2/lib/{sb-demo,sb-demo-ext}.jar
files. Second, there is a $OPENCARD_HOME/OCF1.2/demos/setenv.bat file which
sets some environment variables, among them the CLASSPATH, pointing to the
jars in the distribution. That batch is not very effective, though, because
the variables seem not to be exported outside the execution of the batch.
That's why I decided to ADD (not set) this to my CLASSPATH permanently:
$JDK_HOME\lib\ext\comm.jar;$OPENCARD_HOME\OCF1.2\lib\base-core.jar;$OPENCARD_HOME\OCF1.2\lib\base-opt.jar;$OPENCARD_HOME\OCF1.2\lib\reference-services.jar;$OPENCARD_HOME\OCF1.2\lib\gemplus-terminals.jar
If you do this, you will notice that your demos will compile. Running them, though is 
another story. I haven't tried to run any demos from my own
compiled classes. Probably, you will have to add 
$OPENCARD_HOME/OCF1.2/components/sb-demo/src to your CLASSPATH for your JVM to find 
your demo
classes.
Good luck.
Regards,
Douglas






[EMAIL PROTECTED]
05/10/2000 10:11



To:   [EMAIL PROTECTED]
cc:    (bcc: Douglas Atique/BR/ABNAMRO/NL)
Subject:  [OCF]  import not found......

Hello All,

Can some one throw some light on this... please?

When I try to compile the sample examples, I get a compile-time, cannot
resolve symbol errors for all import statements. I have installed ocf1.2
successfully and demos provided recognize InsertCard, InsertRemoveCard, etc.
My OS is NT4.

Also, there is an import statement which says,

import opencard.opt.management.ApplicationID;

But in the api, there is no management under opt.

Best Regards,
Sudarshan Ramachandra.



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

Reply via email to