Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Adding Nokia Classes to WTK

Posted on 2004-04-16
3
Medium Priority
?
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

604 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