Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Runniny standard J2ME middlets on blackberry emulator

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ???
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic