Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jct.dll with JCOP&Eclipse

843851Mar 29 2004 — edited Jan 25 2007
Hi all,

I am trying to write a host application in Eclipse using JCOP offcard API and keep getting the following error
java.lang.UnsatisfiedLinkError: no jct in java.library.path
java.lang.UnsatisfiedLinkError: setup
	at com.ibm.jc.terminal.NativeJCTerminal.setup(Native Method)
	at com.ibm.jc.terminal.NativeJCTerminal.<init>(Unknown Source)
	at com.ibm.jc.JCTerminal.getInstance(Unknown Source)
	at HostApplication.main(HostApplication.java:49)
The problem seems to be ocurring during the following section of code
  try {
      /**********************************************error ocurring here****************/
        term = JCTerminal.getInstance(termName, termPara);

        term.open();
        term.waitForCard(5000);
  }catch(Exception e) {
        System.out.println("can't find/open/connect/reset smartcard/reader: " + e.getMessage());
        System.exit(1);
 }
Now, I have read the forum and did come across this problem and some solutions but all were related to running the java class file from the command line. What I want to know is how I add the path to jct.dll through the Eclipse environment.

Thanks in advance,
Ann

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2007
Added on Mar 29 2004
17 comments
391 views