Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runniny standard J2ME middlets on blackberry emulator

 
Nrapendra Sharma
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have developed a J2ME app which is running fine on Nokia and sony erricson phones. When installing same app on blackberry i m getting error 907 invalid jar.
can anyone tell me why this is coming... ???

Also i have setup development enviroment for Blackberry.. but i am unable to run standard J2ME middlets on blackberry emulator.

How can i run middlet on blackberry emulator ???
 
Elías Turbay
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, you need to convert your MIDlet first:

C:\Program Files (x86)\Research In Motion\BlackBerry JDE 4.6.0\bin>rapc import="C:\Program Files (x86)\Research In Motion\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" codename="C:\BBMidlet" -midlet "C:\xxx.jad" "C:\xxx.jar"

You will get a file named "BBMidlet.cod" ... Then use the option "Load Java Program" from BB Emulator

That's all

If you want to emulate networking operations, you need to install the "BlackBerry Email and MDS Services Simulators 4.1.2" as well.

(Sorry for my poor English)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic