[robycox],
The current MDIP APIs is not officially tested on the the release of Palm OS i.e. v4.0.
Other 3rd party companies have released their very own CLDC compliant kVM for the Palm OS e.g. Jbed Micro Edition CLDC[tm] from Esmertec:
http://www.esmertec.com/p_jbed_cldc_long.html
The requirements for the kVM by Esmertec states Palm OS 3.3 or above, so their VM might work on the PalmOS 4.0
HTH.
Allen Lai
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/
[chpoon],
MIDP for PalmOS 1.0 BETA only supports PalmOS 3.5 so the IOException and EOFException are probably due the fact that the current MIDP for PalmOS 1.0 BETA is not tested on PalmOS 4.0.
HTH.
Allen Lai
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/