Java on TomTom

From OpenTom

Jump to: navigation, search

I downloaded J2SE 1.4.2 ARM - Headless from here

http://java.sun.com/javase/downloads/embedded.jsp

Copied the file called 'java' to the bin directory on my TomTom ONE XL

Copied the lib directory to the root of my TomTom

Ran TomTom Console and invoked the command java

I recieve the following output:

Cannot Start VM (out of memory while initalizing)
Cannot Start VM (CVMinitVMGlobalState failed)

What is the size of the Memory?

Next step

Try Java ME (Micro Edition)

It seems (at first glance) That Java ME is not a software runtime, rather it is a specification for devices that implement a JRE in hardware.

From iappi

j2me is a java virtual machine compatible to j2se: http://java.sun.com/products/cdc/wp/cdc-whitepaper.pdf

See chapter 4 first of all.

Little glossary: CDC = jvm configured for pda or for example tomtom

CLDC = jvm configured for phones

profile = collection of java classes (foundation profile, personal profile, ...)

I have compiled, without gui, a j2me for pxa255 (armv5te cpu).

It is possible to recompile j2me for tomtom.

My guide is in Bticino forum: http://www.myopen-bticino.it/modules.php?name=Forums&file=viewtopic&t=727]

Cool, but unfortunately I do not understand spanish --Giles Bathgate 21:47, 2 February 2008 (CET)

It's italian language.. Anyway search "Java Embedded Compiling" in the web page, the guide is in english language --Raffaele Recalcati 7:22, 4 February 2008


Thats great, thanks for that

Recently I noticed the output from cat /proc/cpuinfo it seems to imply that one of the cpu features is java what does this mean, no need for a jvm, how do I access the feature?

It seems that the ARM926EJ implements Jazelle which allows the Java ME to execute some bytecode instructions faster by using hardware to execute them.

Next step

Kaffe?

Personal tools