Solved

Adding Nokia Classes to WTK

Posted on 2004-04-16
3
470 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

809 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