Setting correct path in wtk

Since my eclipse problems did not get solved I tried to run my app directly from the wtk. But I seem to have forgotten something.

When I try to launch my app i get

Unable to create MIDlet ShowreelPlayer

java.lang.ClassNotFoundException: ShowreelPlayer

at com.sun.midp.midlet.MIDletState.createMIDlet(+14)

at com.sun.midp.midlet.Selector.run(+22)

In my src-folder I have the following structure:

src->spmobile->ShowreelPlayer.java (my MIDLet file)

Do I have to change something anywhere to fix this?

[559 byte] By [sandsatera] at [2007-11-26 21:55:14]
# 1

Hi,

To run the MIDlet without ClassNotFound Exception , we have set two conditions in Wireless ToolKit.

1. In ShowreelPlayer.java ,declare the package name as spmobile

package spmobile;

2.In Wireless Tool Kit, open your project,select the Settings, select the MIDlet Tab and check midlet class name path as below

spmobile.ShowreePlayer

Regards,

Amuthan

Amuthana at 2007-7-10 3:50:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
It works fine now. Thankyou
sandsatera at 2007-7-10 3:50:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...