File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Hello World MIDlet test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Hello World MIDlet test" Watch "Hello World MIDlet test" New topic

Hello World MIDlet test

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I'm curious to know how well this OTA installation works for different platforms.
I've placed a simple Hello World MIDlet on the JavaRanch test server.
The web page with the jad installation link is at
I'm able to download, install, and run it on my Nokia 3650. T-Mobile is providing my services. I'm currently subscribed to their free trial t-zones service.
Does it work for you?
This app was created following Sun's introductory MIDlet tutorial at


[ September 01, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
That won't work for many current phones, since they don't support HTML but instead WML. This applies e.g. to my Nokia 7210.
I tried downloading the JAD directly, and got 'File Format Unknown'. Have you set up your mime types correctly?
There are solutions to both these problems in my answer in the recent thread 'problem with OTA download Midlet'.
Ankit Gupta

Joined: Apr 13, 2012
Posts: 1
Hi I tested your jar file and it worked properly in my mobile. I tried to recompile using the following commands but that jar file installs on my mobile but does not runs.
Everytime the application terminates as soon as it is launched. Looks like there is some problem with my compilation and preverification.

Can you please help me with the same?

javac -bootclasspath C:\Java_ME_platform_SDK_3.0.5\lib\cldc_1.0.jar;C:\Java_ME_platform_SDK_3.0.5\lib\midp_1.0.jar
Files Generated: HelloWorld.class

C:\Java_ME_platform_SDK_3.0.5\bin\preverify.exe -classpath C:\Java_ME_platform_SDK_3.0.5\lib\cldc_1.0.jar;C:\Java_ME_platform_SDK_3.0.5\lib\midp_1.0.jar HelloMIDlet
Files Generated: output\HelloWorld.class
I agree. Here's the link:
subject: Hello World MIDlet test
jQuery in Action, 3rd edition