If you want to complicate things, just call IBM

by Volker Weber

IBM seems to be unable to build anything which does not require a dozen PhDs to install and run. Case in point: the J9 Java VM. After you have mastered finding and downloading the VM from IBM.com — under the interesting name ibm-weme-wm50-arm-midp20_6.1.1.20061110-161633.exe (there were loads of other options which might be better) — you have to run this installer. It creates directories in your /Programs path on Windows, although Windows cannot run them. You then have to copy certain directories from the \Programs\IBM... path to a directory you have to create on your Windows mobile phone. Oh, and before you do that you have to unzip a file on your Windows computer which contains exactly the files which need to be placed on the phone. IBM asks you to create \J9 from the root directory and then create another directory MIDP20 in there. Finally you copy all the necessary directories and files from your \Programs directory there. Here is what you get:

j9onwindowsmobile.png

Does anybody at IBM know what a .CAB file is? You could send this to the phone and have it place all the necessary files there. Alright, once you are done shuffling files and directories, you get to install your first application. Here are the instructions:

A demo MIDlet is included with this product. The JAD and JAR files needed to run this MIDlet are located in the following directory:

%JAVAHOME%\examples\GolfScoreTrackerSuite.jad
%JAVAHOME%\examples\GolfScoreTrackerSuite.jar

Note: %JAVAHOME% is the location of the J9 VM installation.

To install and run this demo MIDlet on the target file system:

1. In File Explorer, go to the \J9\MIDP20\bin folder and tap emulator to run this program. The MIDlet List window is now displayed.

2. Tap the Install button.

3. Select the keyboard function and type the following in the URL text field:
file:///J9/MIDP20/examples/GolfScoreTrackerSuite.jad

4. Tap the Ok button. The Progress dialog displays this message:
Installing a Midlet from ”file:///J9/MIDP20/examples/GolfScoreTrackerSuite.jad”

Unfortunately the result from step 3 is quite different:

anexeptionoccured

Can you find the error?

Comments

Your 1st screenshot shows MIPD20, while the 2nd uses MIDP20. That could explain why the file wasn't found.

Yury Kats, 2007-04-21

I did a J9 install on my Treo a while back. It was pretty straightforward: downloaded it directly to the phone from the site, and it installed just like any other Palm app.

Tim Tripcony, 2007-04-21

Yury, I know how to fix these errors. But it was far from obvious. That is why I posted the big screenshot. How hard would it be for a Java programmer to handle the execption and tell the user what the problem is?

Volker Weber, 2007-04-21

Hey Volker, I'll check into this with our packaging department. Once upon a time we used to have CAB installs for our MIDP and our Personal Profile runtimes and of course they are much easier to handle from a users perspective. Will get back to you to see if we can get them reinstated. Cheers.

Ken Walker, 2007-04-23

Ken, that would be nice. Suggestions: if you do a CAB installer, also create a shortcut to emulator and register the file types .JAD and JAR. This would make installing midlets MUCH easier.

Volker Weber, 2007-04-23

Recent comments

Matthias Lorz on The Neighbor’s Window :: Oscar Winning Short Film at 12:47
Volker Weber on The Neighbor’s Window :: Oscar Winning Short Film at 11:54
Fabio Peruzzi on The Neighbor’s Window :: Oscar Winning Short Film at 11:48
Fabio Peruzzi on The Neighbor’s Window :: Oscar Winning Short Film at 11:45
Horia Stanescu on The Neighbor’s Window :: Oscar Winning Short Film at 07:04
Martin Funk on The Neighbor’s Window :: Oscar Winning Short Film at 00:00
Sven Bühler on I am not ready for a foldable phone at 22:03
Andreas Imnitzer on The Neighbor’s Window :: Oscar Winning Short Film at 21:48
Roland Dressler on I am not ready for a foldable phone at 15:02
Daniel Seiler on I am not ready for a foldable phone at 13:51
Roland Dressler on I am not ready for a foldable phone at 12:55
Hubert Stettner on I am not ready for a foldable phone at 10:51
Matthias Welling on Tools and Weapons #nowreading at 09:05
Ingo Harpel on You may secretly be a Bing user at 20:01
Amy Blumenfield on Tools and Weapons #nowreading at 19:44
Horia Stanescu on You are famous on Botnet at 12:33
Volker Weber on You are famous on Botnet at 20:17
Dr. Kurt Glasner on You are famous on Botnet at 17:29
Mathias Ziolo on You are famous on Botnet at 14:12
Stephan Herz on You may secretly be a Bing user at 13:45
Volker Weber on Man stelle sich vor, es ist MWC, und keiner geht hin at 20:19
Andy Mell on Man stelle sich vor, es ist MWC, und keiner geht hin at 19:53
Volker Weber on You may secretly be a Bing user at 19:09
René Fischer on You may secretly be a Bing user at 19:02
Roland Dressler on Man stelle sich vor, es ist MWC, und keiner geht hin at 13:00

Ceci n'est pas un blog

I explain difficult concepts in simple ways. For free, and for money. Clue procurement and bullshit detection.

vowe

Contact
Publications
Stuff that works
Amazon Wish List
Frequently Asked Questions

rss feed  twitter  amazon

Local time is 04:32

visitors.gif

Paypal vowe