View Single Post
Old 11-17-2008, 01:01 AM   #4
ftow
Registered User
 
Join Date: Nov 2008
Posts: 2 ftow is on a distinguished road
Here's an update on using Java and OperaMini on the Clie TH55

Ther various instructions found on the web all tend to be confusing, so here are the details along with a basic recipe.

1. Can OperaMini run on the TH55?

ANS: Yes. Some versions will run on TH55 as long as a working Java Virtual Machine (JVM) is present.

2. Where can I get JVM for Palm OS 5.2 for the TH55?

ANS: The one JVM that I am sure works is the one originally packaged with a version of the IBM WebSphere Everyplace Micro Environment. This JVM is known as IBM J9. The IBM software was originally available through PalmOne until 1/12/2008 when PalmOne apparently relinquished the rights to distribute it. See http://www.palm.com/us/support/jvm/ . Other Java VMs may be available for Palm. See http://java-virtual-machine.net/other.html. Some of the links are dead, however.

3. What files are needed for a working Java VM using IBM J9?

ANS: Two PRC files need to be synch'ed to the TH55.

J9JavaVMMidp20.prc
j9pref.prc

4. Where can the files be obtained?

ANS: Currently, although there are several places to find IBM J9, most of the packages do not contain a J9JavaVMMidp20.prc (the runtime and launcher etc.) and j9pref.prc (the developer preferences panel) that will work in a Clie TH55, even though "Garnet OS" is explicitly supported. For example, Handango lists WebSphere Everyplace Micro
Environment v5.7.1 MIDP 2.0 for $5.99. I obtained this and it does not work with the TH55. The file size for the non-working J9JavaVMMidp20.prc is 1,654 KB and it is dated 12-20-2004. I also located a version 5.7.2, file size 1,655 KB dated 2-8-2007, equally non-working with the Clie TH55. The one link to a functional set of files for Clie TH55 is http://www.mrmuzg.internetdsl.pl/java.zip . I am unsure which WebSphere Everyplace Micro
Environment version this represents, but the file size for the J9JavaVMMidp20.prc is 1,652 KB dated 7-21-2004.

5. Why don't the later versions work?

ANS: No clue.

6. What versions of OperaMini will run on the TH55 over the IBM Java VM

ANS: So far, I can only report that two Opera Mini versions work over IBM j9: opera-mini-basic-us.prc (for the Palm V) and opera-mini-advanced-us.prc (for the other Palm handhelds). These are available at http://www.operamini.com/download/pc/palm/ . It is also possible that Opera Mini 4 will work. The jar and jad files for this release are found at http://www.operamini.com/download/p...dvanced_midp_2/ and can be combined into a prc file using the jartoprc_w.exe tool found in the 5.7.2 Tools folder. I tested this, but was having trouble with hangs on a progress bar. I changed the stack size and some other settings, but haven't really had a reliable result yet.

7. How well does OperaMini run on a TH55

ANS: So-so. I think NetFront is actually somewhat better, but the OperaMini Advanced is quite elegant and worth installing.

8. So what do I have to do step-by-step?

ANS:

a) Download and install by synch'ing J9JavaVMMidp20.prc and j9pref.prc from http://www.mrmuzg.internetdsl.pl/java.zip

b) Run Prefs on the Clie and select "IBM Java VM" interface from the dropdown. (I am not sure how to use "J9 Java Options" so I left it alone). Set Memory Maximum to 4 MB and Stack Size to 32Kb. These can probably be decreased, but I used these settings to start.

c. Download OperaMini, basic or advanced, from http://www.operamini.com/download/pc/palm/ . The basic version is only listed beside the Palm V. All others are the same advanced version.

d. Synch OperaMini, and run the program. Once a WLAN connection is made, the initial screens will adjust settings for you.
ftow is offline   Reply With Quote