Java

J2ME Emulator problems in both WTK 1.0.4

Actually I am using the WTK104 from the SonyEricsson kit 1.1 from may 21st with Eclipse 2.1, but the WTK from Sun (1.0.04) has exactly the same issues 2 (debug-problem)

My two big problems with testing apps in the J2ME emulator…

1) application using a menu do NOT display the Menu in the emulator – that means the navigation can NOT be tested… of course that sucks big…

2) debugging simply does NOT work

when I start the emulator with the debug-options i get 2 outofmemory exceptions

that’s also for the supplied games-demo

commandline:

</p>

	<p>emulator -classpath <span>PROJBINDIR</span>\games.jar -Xdescriptor:<span>PROJBINDIR</span>\games.jad -Xdebug -Xrunjdwp:transport=dt_socket,address=2800,server=y </p>

	<p>

output:

</p>

	<p>Connecting to 127.0.0.1 on port 2800</p>

	<p>Waiting for debugger on port 2800</p>

	<p>Connection received.</p>

	<p>java.lang.OutOfMemoryError</p>

	<p>java.lang.OutOfMemoryError</p>

	<p>

I am using JDK 1.4 and the original demos supplied – of course plenty of even physical memory available!

Any clues on this?

Thanks for your help…

Average rating
(0 votes)

Similar entries