James Hart responds:
A: This is a slightly tricky question to answer - While the chapter does target
mobile devices, the Diamond Mako is unusual in that, while it doesn't support
Java by default, it is possible to install Java on it and run full scale
Java Applets and applications - not just limited code written for the KVM or
J2ME standards. However, in some ways it is actually harder to work out how
to get code to run on this particular device - let me explain why.
The Diamond Mako is an EPOC device (EPOC is the name for a mobile operating
system developed by Symbian) - you can get a JVM for Epoc release 5, and the
Mako's 16MB of RAM should be enough to run it. This is a Java 1.1.4
implementation, and you can obtain a copy by downloading the Symbian EPOC
Release 5 Java SDK from http://www.epocworld.com/downloads/sdks/er5sdks.htm.
Java 1.1.4 predates the Java 2 Platform, by some way, and is now considered
a pretty archaic version of the Java platform.
Java 1.1.4 isn't explicitly discussed as one of the target platforms in the
chapter, which focuses on CLDC and KVM versions of the Java 2 Platform,
Micro Edition.
The only code given in the chapter that I can say with some certainty will
run on a Revo/Mako running the Psion JRE are the XSLTC translets. You're
probably best experimenting yourself with the other XML parsers, to find
which are capable of running on this relatively outdated JRE (the web sites
I've looked at generally don't give compatibility information in this sort
of depth, so I'm not sure if, for example, NanoXML will run).
Unfortunately, development of the JRE for EPOC release 5 has stopped now, as
Symbian concentrate on their Java 2 platform for version 6 of the operating
system.