Skip to main content

classNotFoundException

1 reply [Last post]
despuestambien
Offline
Joined: 2010-05-21
Points: 0

Hi,

I'm trying to run MIDP CLDC on windows ce. I installed the corresponding phoneme cab on the device and when I try to run the following command:

"\Program Files\pMEF MIDP\bin\arm\runMidlet.exe" -classpathext "HelloMidlet.jad" "HelloMidlet.jar" HelloMidlet

i get a java.lang.ClassNotFoundException: HelloMidlet

I just created the HelloMidlet with the out of the box Java ME SDK 3.0 and on emulator on the IDE it works fine.

What can this be??

Thanks a lot in advance!!!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
davyp
Offline
Joined: 2007-01-03
Points: 0

You should add the jar file to the classpath rather than the jad file.

Try the following shortcut:

"\Program Files\pMEF MIDP\bin\arm\runMidlet.exe" -classpathext "HelloMidlet.jar" -1 HelloMidlet

Davy