| Reply | « Previous Thread | Next Thread » |
|
hello,
i need a little bit help. how is the best way to create a jar and jad for the wma app. i have use the wireless toolkit 1.0.4 and the sun one studio 4 me with the Nokia developer's suite for j2me and the nokia series 40 midp canncept sdk beta. i don't take the wma.jar as resources, but i want make a .class from my .java. The compiler say no: import javax.wireless.messaging.*; WmaSend.java [32:3] cannot resolve symbol Symbol: class MessageConnection location: WmaSend.java i know, i don't set the wma file to the resources, when i do that i make to be infringing on the license agreement. how can i get a jar and jad for a app to send sms? Which tools i must use? thanks for help and best regards natrix |
|
The wma.jar doesn't have to be in your app's library. It needs to be part of the JDK used. This means it has to be part of the bootclasspath when you compile. How to do this depends on your development environment (I'm not very familiar with the one you mentioned). But basically, on a command line it would look like:
Code:
javac -bootclasspath [path to wma.jar];[path to midp classes(classes.zip?)] ........ (etc) Packaging this file with your resources would let you compile the application, but it wouldn't run because it infringes the license agreement and needs some of the methods implemented natively. You would get a "Can't create class in system package". |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|