How to fix preverification fails error

Hi,

Using Netbeans 5.5 with mobility pack I created a helloword midlet (midp 2.0, cldc 1.1) that works perfectly with the default emulator. When I changed to my target platform (nokia 6600, s60 3rd platform) I got the following error message:

preverify:

Preverifying 2 file(s) into C:\Documents and Settings\ors_teglasy\MobileApplication\build\S60Emulator\preverified directory.

Error loading class Files\Java\S60\Devices\S60_3rd_MIDP_SDK_B\bin\preverify2.exe

Error preverifying class hello.HelloMidlet

java/lang/NoClassDefFoundError: javax/microedition/lcdui/CommandListener

C:\Documents and Settings\ors_teglasy\MobileApplication\nbproject\build-impl.xml:269: Preverification failed with error code 1.

BUILD FAILED (total time: 0 seconds)

If I try to run the preverify command from command line without any arguments, I got the same bolded error message, so I think there is some problem with the preverify tool of the S60 platform. Any ideas how to fix it?

Thanks!

謗s

[1051 byte] By [orsteglasya] at [2007-11-26 13:01:01]
# 1
This error can be fixed by installing the emulator to the root directory (C:\S66\...).
orsteglasya at 2007-7-7 17:01:57 > top of Java-index,Java Mobility Forums,Java ME Technologies...