Hi, when I try to register a custom JCShell plugin. I get the following error:
cm> /applet
Nickname AID Plugin
-------- --- ------
cm A000000003000000 com.ibm.jc.tools.CardManagerPlugin
eclipse 00000000 com.ibm.bluez.jcop.eclipse.internal.ui.views.shell.EclipseShellPlugin
cm> /register dosf A000010203 com.ibm.jc.tools.DosfShell
jcshell: Failed to load plugin <com.ibm.jc.tools.DosfShell>: java.lang.ClassNotFoundException: com.ibm.jc.tools.DosfShell
I believe it's not finding the jar file I created with the plugin. I have tried putting in a number of directories, including in the D:\eclipse\plugins\com.ibm.bluez.jcop.eclipse_3.1.2\lib where the offcard.jar is placed.
Help, I am not sure what to try next. Could it be how I created the jar file?
The documentation does not walk through the entire process (i.e. where to place the jar). I've tried their example and same problem.
Here is a snip of the code:
--------------------------------
package com.ibm.jc.tools;
import com.ibm.jc.*;
//import com.ibm.jc.tools.JCShellPlugin; got warnings on this not sure why?
public class DosfShell extends com.ibm.jc.tools.JCShellPlugin {
// commands of the plugin
private static String[] cmdNames = {
"sampleCommand",
};
---------------------------------
I am using JCOP 3.1.2 and Eclipse 3.2.1
Thank you for any help.
Maguar