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 02:05

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.

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?

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, 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.

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Roy Heidemann on Absolute Pure theme for Nokia E71 at 23:36
Volker Weber on Absolute Pure theme for Nokia E71 at 22:19
Bernd Baltz on Absolute Pure theme for Nokia E71 at 16:10
Samuel Orsenne on Working Lego V8, 32 valve engine at 13:39
Bill Buchan on Working Lego V8, 32 valve engine at 12:17
Kevan Emmott on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 20:57
Sudeep Reddy Sama on N70 drops off the network in dual mode at 20:09
Volker Weber on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 17:37
Paul Mooney on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 17:26
Kevin Pettitt on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 16:36
Victor Toal on Bluehouse does not support my browser at 16:33
Vince Schuurman on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 15:32
michel platoche on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 14:21
Ben Poole on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 13:11
Volker Weber on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 12:34
Ben Poole on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 12:27
Paul Mooney on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 12:12
Gregory Engels on Lotus Vista? at 09:00
Bruce Elgort on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 03:24
Volker Weber on Nokia E71 is currently winning at 23:31
Alejandro Aguilar on Nokia E71 is currently winning at 23:29
Vince Schuurman on Confirmed: new Apple notebooks next Tuesday at 10am PDT at 23:11
Bob Balaban on Urban Myth: Microsoft is good at marketing at 22:01
Bob Balaban on The Job at 21:55
Julian Woodward on Black Ice prematurely escaped at 20:37

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Can you bring a camera phone to work?

Getting poll results. Please wait...

Local time is 04:09

visitors.gif
65 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum