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.

Similar Messages

  • 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.

  • 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

  • Sun Java Toolkit 1.0 for CDC on Linux

    I am looking to develop of my system to run on a PDA or one of the other more powerful J2ME platforms. From what I've read the Toolkit for CDC is what I need. I would like to use swing (if possible) and the platform must have WiFi access to a server (which will be running the J2EE (JBoss) application). So my target device must support J2EE client functionality.
    The download site only as a Windows EXE, but as a long time Solaris (and now Linux) hack I don't have a Window system to develop upon. Is Sun planning a version of the toolkit for Linux?
    If not is there a way I could bring the J2ME Wireless Toolkit up to the specification I need? I download that and had little problem developing a MIDlet that I deployed to my Mobile phone. I even played with the emulator and created a generic target device with a QVGA screen as I haven't got any target hardware yet.
    Thanks for any and all help
    Steve

    I'm also interested in how to develop CDC applications under linux...
    Edited by: nokia87 on Jan 16, 2008 2:06 AM

  • 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

  • Availability of Java Wireless Toolkit (J2ME) for linux

    Hi, Could anyone tell me when will be available the Java wireless toolkit for Linux again ?
    According to download page is offline since March 20
    Sun Java Wireless Toolkit for CLDC 2.5.2 ML
    - March 20, 2012 - This download is being updated and will be made available again shortly, please check back regularly for it's availability.
    Is there any other way to download the Linux API for mobility development ?
    Thanks in advance.

    The link is back up.

  • 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

  • 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.

  • 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

  • Wireless Toolkit J2ME - changing the directory structure for your projects

    When I create a new package in the Sun Java Wireless Toolkit, the toolkit is creating a folder for the application and its subfolders in the following directory:
    C:Documents and settings/Owner/j2mewtk/2.5.2/apps/<name_of_project>....
    I am trying to change the directory for new and existing projects so that the directory is:
    C:WTK2.5.2/apps/<name_of_project>....
    The WTK is already installed directly under the C drive (C:WTK2.5.2/ )
    Any help would be much appreciated.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • 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

  • 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?

  • JSR 82 for the 2.5.2 wireless toolkit

    Can someone please confirm if the implementation for JSR 82 is included in the Sun Java Wireless Toolkit 2.5.2 for CLDC?

    I'm new enough to j2me programming and the wtk itself so I may have missed the point of your question but in my understanding...
    The sun wtk does contain an implementation of the bluetooth specification but this is only an interface and it does not actually enable communication with a device as stated in the wtk faq <link = http://java.sun.com/products/sjwtoolkit/FAQ.html#general>
    "Can I connect the wireless toolkit to an external bluetooth device, such as a mobile phone?
    No, the wireless toolkit does not enable communications with wireless devices. "

Maybe you are looking for

  • Run time error while saving values in File (Tcode)

    Hi, I am using FM   call function 'FILE_GET_NAME'        exporting             logical_filename = logical_filename             parameter_1      = program_name             parameter_2      = file_id_param        importing             file_name       

  • Saving psd file as jpg

    Hello all - I have recently upgraded from PSE–3 to PSE–9.0 on my Intel MAC running OSX 10.5.8. With PSE–3, when I wanted to save a psd file as a jpg, I would click File/SaveAs, and in the subsequent window select JPG.  When I did that, the file name

  • Catalyst: Mouse Pointer looks weird on one monitor

    Hi, i just installed a fresh Arch system (2.6.35-ARCH) and I'm using Xorg (1.9.0) together with the AUR-package "catalyst-test". Now when i start up a desktop environment (i tryd twm and openbox), my mouse pointer looks weird on my right monitor but

  • Running reports in 10g

    I have created a web based and a paper report using the report wizard(forms 10g)....now i want to run this web based report by providing a button on the form.....can any1 plz help me with this..

  • During initial setup of mac pro, used pc to mac transfer, after transfer mac requires new password to enter account but will not accpt password

    During the initial setup of mac book pro, I did the pc to mac transfer. After transfer was complete, mac had two user accounts aspen pc machine? and dell. Upon trying to access either, the mac says I have to enter new password to enter. It will not a