Solved

Adding Nokia Classes to WTK

Posted on 2004-04-16
3
468 Views
Last Modified: 2008-01-16
After having installed a Nokia Mobile SDK, I found a set of classes or packages that can be used with J2ME.
I'm using the J2ME Wireless ToolKit 2.1 and I was wondering how I can add this zip file (containing the classes) into the WTK so when I compile an application, no errors or exceptions will come up.

If anyone knows how this is done, please let me know.

Cheers

-OBCT
0
Comment
Question by:OBCT
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 125 total points
ID: 10844191
I would suggest that you either put a copy of that jar into the lib folder of your project (WTK project that is), or put a copy into WTK21/lib. If you choose the latter, you need to add the Nokia jar to the C:\WTK21\wtklib\Windows\ktools.properties file:

kjava.class.path: lib\\midpapi20.jar;lib\\cldcapi10.jar;<add jar file here>

0
 
LVL 9

Author Comment

by:OBCT
ID: 10847521
I realized that when I installed the Nokia SDK, it had already integrated itself with the WTK. I just needed to select the Nokia device before compiling.
However you did answer my question so the points are yours.
Thanks again :)

Cheers

-OBCT
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10847541
My pleasure! =-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now