Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2004

Tip: Looking for answers? Try searching our database.

Javac compiles, JBuilder no

Thread view: 
Nicholas - 29 Aug 2004 09:42 GMT
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 :-)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.