Running the BlackBerry Emulator on Linux

I seem to have gotten it to work, more or less consistently (although I’ll keep my fingers crossed).

The first step is: do everything this guy says, and thank him profusely, as he seems to have blazed a path for everyone else to follow.

http://www.slashdev.ca/2008/03/27/blackberry-simulator-in-linux-sort-of/

Keep in mind that newer versions of the JDE (mine is 4.7) have different devices, so create, for instance, a 9500.sh instead of the 8800.sh.

These points bear repeating, as gleaned from the comments on the above post.

  1. Make sure you have the very latest Wine that you can find and is somewhat stable. I used this: deb http://wine.budgetdedicated.com/apt intrepid main
  2. Get gdiplus.dll (search for it with Google) and install it in your .wine/drive_c/windows/system32/ directory. (From Cay in the comments).
  3. Get msxml.msi (Google, again) and run it like so: wine start msxml.msi, which should install it in wine for you. (From Patrick).
  4. Edit your shell script to make wine stick with one processor: task -c 0 wine fledge.exe .... (From Andrey in the comments)

To load up your hello world application, select the file menu, “load java program”, and then in the emulator, go to the ‘downloads’ section (double clicking on the main screen should get you to the applications). Your app should be there.

So far so good, although the whole thing is a gigantic pain in the neck compared to development with platforms like Java ME or Android, where Linux versions exist.

Update

Sadly, it still randomly exhibits problems. How frustrating.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s