Hi.
I'm developing an application made by a Javacard Applet and a Java
client. I can't get over this error:
My client app compiles and run smoothly with standard javac (jdk 1.4.2).
When I try to compile it inside JBuilder i have the following error:
------------------------
"LibrettoClient.java": cannot resolve symbol: method getMessage ()in
class java.lang.ClassNotFoundException at line 42, column 67
CardRequest cr = new CardRequest(CardRequest.NEWCARD, null,
OCFCardAccessor.class);
------------------------
I don't understand this error message. I'm almost sure I have included
all the libraries from the javac classpath in the JBuilder path, and the
error gives no hints about what could be missing.
Please, help me. I need to use JBuilder to make the gui for the app.
Nic :-)
Nicholas - 30 Aug 2004 11:54 GMT
> Hi.
>
[quoted text clipped - 16 lines]
> all the libraries from the javac classpath in the JBuilder path, and the
> error gives no hints about what could be missing.
I reply to myself ;-)
I put in the JBuilder path all the jar files included in the JavaCard
Kit. The JavaCard framework contains the exception handling code for the
Javacard environment. The compiler got confused and tried to bind the
J2SE methods to the Javacard library.
Solution: Include in the borland path only the required libraries for
your application. I am using RMI, so I have to choose
jcrmiclientframework.jar, base-core.jar:, base-opt.jar
Cheers,
Nicholas :-)