hi,

I have a problem with JBuilder and OCF 1.1.1
( the Sm@cafe OCF library is compatibel to OCF API 1.1,
so I work with OCF 1.1.1  ).

I compile the example "OCFTest.java" from G&D under JBuilder 3.5 with success.
When I try to run the example , the following error appears:

Output Window JBuilder: 
"com.gieseckedevrient.opencard.demo.OCFTest::OCFTest: Opening framework,..."

then next call in Source-Code:
SmartCard.start();

when calling class "SmartCard.start()" , in the source of "SmardCard.class" in the 
first 3 line's
is printed :
// JBuilder API Decompiler stub source generated from class file
// 27.09.2000
// -- implementation of methods is not available

Then "DrWatson" indicate a "stackoverflow".

SmardCard.start() in general mean's :
"Initializes the entire OpenCard Framework and is meant to be the first method to be 
invoked
in any application in order to setup OpenCard properly. This process tries to get the 
OpenCard properties and fill the CardTerminalRegistry and CardServiceRegistryby 
means of the according property entries."

I try to setup the framework properly (setting conditions under JBuilder 3.5 
\JBuilder35\jdk1.2.2\    :
------------------------- Installation steps for JDK1.2, Win32 Host (from 
giesecke&devrient):------------------
1) add <jdk1.2>/jre/bin to your PATH environment variable - make sure that java.exe 
will execute the Java VM 
of the JRE! 
2) copy win32com.dll (from javax.comm 2.0) to <jdk1.2>/jre/bin 
3) copy javax.comm.properties (from javax.comm 2.0) and opencard.properties (from G+D 
OCF CT API) to 
<jdk1.2>/jre/lib 
4) copy comm.jar (from javax.comm 2.0), base-core.jar, base-opt.jar (from OCF1.1.1), 
GDOCF11.jar 
and GDOCFDemo.jar (from G+D OCF CT API) to <jdk1.2>/jre/lib/ext 
 5) clear the CLASSPATH variable.  
type java com.gieseckedevrient.opencard.demo.OCFTest -p 400 into your command prompt
---------------------------------------------------------------------------------------------------------------

How can I solve the problem ?

Thanks
Henrik




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