Sun Wireless Toolkit - ktools.properties?

Hi friends,
Does somebody know how can I change the ktools.properties (placed on C:\WTK21\wtklib\Windows) in order to make the Wireless Toolkit find all the classes it needs in a third party jar file? Actually I don't know if this is the file I need to change.
Let me explain. Siemens devices put all CLDC, MIDP1.0 and proprietary classes in a single JAR file called api.jar. I would like to know how can I set the Wireless Toolkit to use this file instead of the files midpapi10.jar and cldcapi10.jar. In prior versions of the WTK all the classes used in the compilation process were available in a single file calle midpapi.zip and I could rename the Siemens api.jar file to midpapi.zip and everything was ok, but now they are split in configuration and profile jar files. What can I do?
Thanks in advance fellows
Cleverson

I tried to deal with it by ktools.properties but it didn't work. On some tech details about WTK I read that it simply doesn't support proprietary apis.
However, I found a way to get around it. I put api.jar (siemens) in the lib dir. When I create the package, this api is inserted in the midlet.jar . All is left to do is delete the com/* directory from the jar file. Then the program can be run on the phone.
It's a bit messy but I set up macros for these tasks and everything works quite smoothly. And I don't like all these monstrous IDEs so I prefer to work with plain WTK.

Similar Messages

  • Sun Wireless Toolkit for CDC - JSR75 Application

    Hi All,
    I have Sun Wireless Toolkit for CDC installed in my machine. I have written a sample JSR75 application to access PIM database. At Compile time, it's giving so many compilation errors; it's not recognizing the PIM API.
    I have placed the jsr75.jar file in lib folder of CDC installation directory. At this time it's giving NullPointerException.
    Any body tell me how to access PIM API from Sun wireless Toolkit for CDC.
    Thank you very much in advance
    Thiru

    What platform do you use to develop? I use NetBeans and compilation works fine.
    I have the jsr75.jar in the following places (on old Apple iBook):
    /Users/carl/.netbeans/5.0/emulators/wtk22_linux/emulator/wtk22/lib/jsr75.jar
    /Users/carl/Library/mpp-sdk/jsr75.jar (for mpowerplayer emulator, but this does not work (yet))
    In the netbeans lib files also these jar-iles exist:
    cldcapi10.jar jsr082.jar midpapi10.jar wma11.jar
    cldcapi11.jar jsr184.jar midpapi20.jar wma20.jar
    j2me-ws.jar jsr75.jar mmapi.jar
    Carl.

  • Ubuntu - Wireless Toolkit 2.5.1 EA

    I successfully installed the new Sun Wireless Toolkit 2.5.1 EA on my Ubuntu 6.06 Dapper system.
    However, when I try to run any example MIDlet in the toolkit, it gives me this error:
    java.lang.UnsatisfiedLinkError: /usr/share/WTK2.5.1EA/bin/sublime.so: Can't load IA 32-bit .so on a IA 32-bit platform
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
         at java.lang.Runtime.load0(Runtime.java:769)
         at java.lang.System.load(System.java:968)
         at com.sun.kvem.Sublime.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.kvem.Lime.createLime(Unknown Source)
         at com.sun.kvem.KVMBridge.<init>(Unknown Source)
         at com.sun.kvem.KVMBridge.getBridge(Unknown Source)
         at com.sun.kvem.midp.MIDP.run(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.kvem.environment.JVM.main(Unknown Source)
    What am I doing wrong? It says I can't load an IA 32-bit .so on an IA 32-bit platform. What does that mean?
    Any feedback would be most appreciated.

    that's not all there is to it -- for example, on Debian etch, it does not work at all. That is probably due to the fact that sublime.so is compiled against libc6 2.4.
    Since Debian etch (and Ubuntu dapper) only have glibc 2.3.x, the library is incompatible. You can see that when you do ldd /path/to/sublime.so -- like this:
    mcornils@asus:~/bt/WTK2.5.1/bin$ ldd sublime.so
    ./sublime.so: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./sublime.so)
            linux-gate.so.1 =>  (0xffffe000)
            libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e3f000)
            /lib/ld-linux.so.2 (0x80000000)So, upgrade to more recent versions (lenny has glibc 2.5, edgy and feisty are ok, too) or get Sun to recompile against the older glibc (which might be difficult since they probably rely on some new glibc 2.4 features).
    Good luck,
    -Malte

  • Wireless toolkit in sun one studio 4 update 1 mobile edition?

    I'm starting work on a MIDP 2.0 procect that requires the 2.1 wireless toolkit for JSR-172 (web services) support. I'm currently using Sun One Studio 4 update 1Mmobile Edition with the built-in 1.04 toolkit. Is there any way for me to setup the 2.1 toolkit to work with S1ME4_1?
    I know the Early Access release of ME 5 ships with 2.1 toolkit support, but my project extends beyond the 60 day license.
    Any help would be appreciated. Thanks. :-)

    Hi,
    1. install the WTK 2.1
    2. In your project in S1ME4_1 in the Explorer
    - select Runtime -> Device Emulator Registry -> Installed Emulators
    - click right on that and choose "Add... Emulator" and enter your path to the WTK 2.1 (normally you have then a new "installed emulator" (J2ME WTK2.1)
    3. Open the "Default Emulator" and change it by clicking right on the one mentioned.
    4. add the midpapi20.jar from the lib directory of WTK2.1 to the classpath (i.e. by mounting)
    Hope it works.
    Kay

  • How to use KAWT with "Sun Java Wireless Toolkit 2.3 Beta"?

    Hi!
    Im new to developing java for mobile devices so all of this is pretty confusing for me. I started with installing suns:s "Wireless Toolkit 2.3 Beta" and it works fine but now I want to use awt classes so I started to look it up and that�s how I found out about kawt. I followed the tutorial at http://www.kawt.de/ and i was able to use it for Java Wireless Toolkit 1.0.4_02 so that it compiled fine and was run able.
    Then I tried the same thing in v 2.3 but I got a error that looked like this "Uncaught exception java/lang/NoClassDefFoundError: awtDemo: /awt/event/ActionListener: Cannot create class in system package." when i tried to run it. It compiled fine when I pressed the build button witch wouldn�t have happened if i hadn�t installed it correctly. So I�m wondering if someone knows were to find a tutorial for installing kawt for "Sun Java Wireless Toolkit 2.3 Beta" or if anyone knows what might be wrong?
    I'd welcome any help
    Thanks!

    If using the zip install of DSEE, you need to use your own java container to host DSEE. Try downloading the latest Tomcat (http://tomcat.apache.org) and deploying your dscc in it.

  • Reminder: Online chat, June 14: What's New in the Sun Java Wireless Toolkit

    Got a question about the Sun Java Wireless Toolkit (formerly known at the J2ME Wireless Toolkit)? Want to learn what's new and cool in the Sun Java Wireless Toolkit?
    (One thing new is that the Sun Java Wireless Toolkit 2.3 beta has been recently released.) Then join this chat with Ariel Levin, lead engineer for the Toolkit, writer Jonathan Knudsen, who's written a lot about the Toolkit, and product marketing manager E-ming Saung. They'll answer your questions on Tuesday, June 14, at 9:00 A.M. PDT (12:00 noon EDT/16:00 UTC).
    To join the chat, go to http://java.sun.com/developer/community/chat/index.html on June 14 and click on the "Join" link for the session.

    How about a link to a document for those of us who (a) don't want to spend a whole hour on the issue (b) don't want to do it at that particular time (c) both?

  • Is MIDP 2.0 and CLDC  inluded in Sun Java Wireless Toolkit 2.5 for CLDC?

    I downloaded the "Sun Java Wireless Toolkit 2.5 for CLDC" and "Sun Java Toolkit 1.0 for CDC" and I have JDK 6.
    do I need to download anything else or is this all I need to make applications for cdc and cldc devices??
    please help.
    thank you.

    Most devices used today support MIDP 2.0, but not all of them support CLDC 1.1. If you can do without floats, it's better to restrict yourself to CLDC 1.0 & MIDP 2.0. Devices which only support MIDP 1.0 aren't suitable for today's game development anyway (performance, resolution...) so personally I'd suggest not bothering with them if you don't have to.
    Here are some lists you can use to help you decide what to use, based on how many devices you want to target:
    http://www.j2mepolish.org/devices/platform.html
    These lists aren't complete, so please let me know if you find better ones.

  • J2ME - WIRELESS TOOLKIT - SUN

    Hi All
    I installed J2ME - WIRELESS TOOLKIT - SUN, to work with JDEVELOPER but I don't know what else I need to start to develop my application.
    someone could help me, what else I have to install in my machine
    Thanks
    José

    Jose -
    There are detailed instructions provided at this location:
    http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2me/content.html
    Hope this helps,
    Lynn
    Java Tools Team

  • Crash when running basic midlet using  eclipseme and sun's wireless toolkit

    I am trying to run a demo midlet using sun's wireless toolkit in the eclipseme environment and I get the following error;
    ALERT: java/lang/ClassFormatError: Bad version information.
    alongwith a stack dump.
    Any ideas as to what the problem might be?
    Thanks.

    This is just a guess:
    (1) Your applications runs up against the maximum number of lock objects, which triggers an exception. This may be caused by either (a) your application requirements or (b) failure to commit/abort transactions.
    (2) The exception is not caught at the appropriate place, or appropriate action is not taken in the exception handling, which is to deallocate XmlResults and other objects (so the underlying C++ objects may be freed) and to abort the transaction.
    (3) C++ objects the Java wrappers of which should have been deleted (call delete()) are still around when they shouldn't be, and this causes a SEGV to happen, which is what you're seeing.
    If you think the above is possible, you could boil down com.company.MyClass to a minimal example that reproduces the behaviour you're seeing and is easy for others to run at home, and then post it here.
    Michael Ludwig

  • City guide at sun java wireless toolkit

    hi
    has anybody tried to launch city guide-apps(example from sun java wireless toolkit 2.3) on real device?
    i have motorola a1000 with integrated agps-modul and the example doesn�t work.
    can anybody help me?

    the problem is that a1000 doesn�t support cldc 1.1 so i had to change the example a little bit working without float arithmetic. The result is: the screen simply freezes. I thought the condition of supporting locationAPI is at least MIDP2.0 AND cldc 1.1.
    is there any special example for motorola using locationAPI?
    i think the problem is that a1000 doesn�t really support locationAPI(jsr179)
    may be it uses propery API�s (like com.motorola.location or sth like that)
    writing
    System.getProperty("microedition.location.version")i�ll get null. it�s sure
    so is there any way to use j2me for programming simple example like:
    i am here [lattitude, longitute]?

  • Java ME: Sun Java Wireless Toolkit not available anymore?

    Hey everyone,
    Does anyone know whats going on here? http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javame-419430.html
    Says it's been updated and will be available shortly - except it looks like it's been like that since March 20th (?)
    I'm trying to get started on a Java ME project that was dumped on me so this is just perfect timing for me.
    Does anyone know where I could get a trusted version of the Java wireless toolkit outside of Oracle's site? Googling it gives me some dodgy looking sites which I'm not too keen on trusting.
    TIA
    Jay
    Edited by: 927609 on Apr 14, 2012 12:46 AM

    Try google: [url http://www.google.com/search?q=site%3Aforum%2Ejava%2Esun%2Ecom+communications+api+win32]site:forum.java.sun.com communications api win32. One of the replies in [url /thread.jspa?threadID=684314]second link seems to have the answer.

  • Sun Java Wireless Toolkit 2.5.2 for CLDC released!

    We've released the WTK 2.5.2 (Windows, Ubuntu Linux, and multilingual versions) with improved multiuser environment support. We've heard and listened to user's comments and have recompiled our WTK for Ubuntu linux based on Glibc 2.3 libraries to provide support for other distributions of Linux. Keep in mind, the WTK has been tested on Ubuntu Linux version 6.x.
    Download the latest version today:
    http://java.sun.com/products/sjwtoolkit/download.html
    For feedback on the Wireless Toolkit, please click here:
    http://developers.sun.com/contact/feedback.jsp?&category=j2me&mailsubject=Sun%20Java%20Wireless%20Toolkit%20for%20CLDC
    Thanks!

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Sun Java Wireless Toolkit 2.5.1 for CLDC - now available with Linux support

    Sun is proud to announce the release of Sun Java Wireless Toolkit 2.5.1 for CLDC. It includes some minor implementation bug fixes, support for hardware USB tokens for midlet signing, and support on Ubuntu linux is provided.
    Download from here:
    http://java.sun.com/products/sjwtoolkit/download-2_5_1.html

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Sun Java Wireless Toolkit for Solaris

    I dont see the SJWTK for Solaris in list update of NetBeans, only 2.1.
    However, in the site already exists version 2.5.X., but Linux and W32, why?

    I also wanted to use JWT 2.5.2 on Solaris but it seems there is no supporting libraries. I get the following error when trying to run the Linux ktoolbar:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.io.FileNotFoundException: /usr/local/WTK2.5.2/wtklib/SunOS/ktools.properties (No such file or directory)Any plans to support Solaris?
    Edited by: JacoVosloo on Nov 8, 2009 12:55 PM

  • Stylus support in wireless toolkit

    Hello people,
    I'm doin a project which involves creating a drawing pad on which a user can draw..How can i do with Sun Java Wireless Toolkit??..any classes for stylus??..or any mouse events/classes??..or any other means??
    Thanx in advance

    With reference to original question. It is not very clear to me from the question by what you mean by adding a device. As far as I read, the concept of adding devices to W2K is to change the display properties, font properties, etc. This can be done using the following way.
    Assume your installation of w2k is at D:\WTK20
    1. Go to D:\WTK20\wtklib\devices directory.
    2. Create a new directory with your device name.
    3. Copy DefaultColorPhone (say MyNewDevice)
    4. Copy the DefaultColorPhone.properties file from DefaultColorPhone directory to your new directory and rename it to MyNewDevice.properties (This is to simplify things. Otherwise you can choose to create a totally fresh file).
    5. Go through the properties and try to play with it by changing the values and openng your midlets in this new device. This way I could create a emulator that supports Indian language.
    Hope this gives some pointers on how to do it. But not sure whether it answers your question. All the best.

Maybe you are looking for

  • Looking for a specific QuickTime player

    Hi, I'm looking for a specific QuickTime player. The one that has the interface with round buttons like tear drops and not the flat buttons the we have today. I think it is in version 6 of QuickTime but I'm not sure. If someone could send me only the

  • What's wrong with Yahoo mail on iPhone 5?

    I set up my Yahoo account on my new iPhone5 Sat morning, and all was good.  Then last night, I couldn't get it to connect.  It keeps asking for my password and wont verify when I try to reconfigure it.  Yahoo still connects fine on my iPad and I can

  • How to set default value to the variable !!!

    Experts, I have created a variable ZDATE, which is in variable entry screen of the query. and this variable is mendatory . Now, i want to put default value of this variable ( Which can be done from the Variable Properties screen , on the Default Valu

  • Cash flow statement (direct)

    Hi experts, I'm using SAP ECC6 and I'm aware of SAP has provided "Liquidity Planner" process. Anyone knows where to get the step by step configuration on this ? I heard that Russia has a model in standard SAP. Any example of configuration documentati

  • RoboHelp for word 6

    I am using RoboHelp 6 for Word, Window2000 and MS Word 2000. When I start a new project, I choose WebHelp project type. I look at the "Welcome" topic, I get 0.08" margin from the left. I go to the style to change to 0". But as soon as I build the pro