Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What are Midlets  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am new to J2ME

Just a few questions to ask?

1. Is any java application which is run on midp2.0/cldc1.1 called Midlet

2. If the above is correct, what is the correct way to create a application jar or Midlet.

3. what is the role of .jad and .crt files and are they necessary to deploy the application on pda/emulator

4. how can we create .jad and .crt files for the application jar, are there any tools available.

5. How do I deploy the application on emulator, I am using J9 as jvm here
and have created the J9/MIDP20/ Folders under Program Files and copied bin, lib and examples folder from the J9 which got installed on my PC to Emulator

6. How do I find the "jre" required by the J9 jvm when It tries to run the application, right now I have configured my emulator to have additional memory using storage card, where I copied the rt.jar and tools.jar and added them in the classpath of the command line which I wrote in the .lnk file I created

This is my .lnk file

255#"\Program Files\J9\MIDP20\bin\j9.exe" "-jcl:midp20" "-classpath" "\apps\propco1.jar;\swt.jar;\Storage Card\charsets.jar;\Storage Card\rt.jar;\Storage Card\tools.jar" "\apps\propco1.jad"

Propco is the name of my application.jar

Thanks in Advance
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • 1. Names are easily redirected. Keep working at this level and you will discover your answer more reliably than we can.
  • 2. Write Java code, compile it. Place the resultant files where a vendor of a specific device instructs in their JDK.
  • 3.
  • 4.
  • 5.
  • 6. Normally there is a setting in the registry for JAVA_HOME. Because you are using a tool from a highly skilled vendor, I suggest addtional digging in their docs.

  • This is my .lnk file - If you can write dot lnk files, get in touch with the Trail Boss, he needs your help on a project he is working on.
    [ April 23, 2008: Message edited by: Nicholas Jordan ]
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!