Unable to create MIDlet

I have a small problem.

I can compile my programm but when I run it it's give the following error:

Running with storage root DefaultColorPhone

Unable to create MIDlet btube

java.lang.ClassNotFoundException: btube

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

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

Execution completed.

730610 bytecodes executed

20 thread switches

743 classes in the system (including system classes)

3760 dynamic objects allocated (107568 bytes)

1 garbage collections (0 bytes collected)

can anybody help me?

[621 byte] By [wiby84a] at [2007-11-26 12:34:53]
# 1
what r u using to create midllet
harrriiiia at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
J2ME Wireless Toolkit V2.2
wiby84a at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
I forgot to tell you that I don't have any experiance with java.
wiby84a at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
hi frndCheck your class path setting in j2me Ktoolbar -> settings -> MIDlet -> classwith your folder structure (i.e.) src/packagename/class namealpesh
alpesha at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
r u using it with netbeans
harrriiiia at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6

thnks for your replay.

My structure:

btube/src/btube

in that map I put all my files ( I use a package)

I checked it but now I get the following error:

Unable to create MIDlet btube.btube

java.lang.NullPointerException

at btube.btube.<init>(+235)

at java.lang.Class.runCustomCode(+0)

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

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

Execution completed.

731695 bytecodes executed

19 thread switches

749 classes in the system (including system classes)

4539 dynamic objects allocated (137208 bytes)

7 garbage collections (107384 bytes collected)

hope you can help me thnks

wiby84a at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
Hi i'm also facing this problem and i also don't have any experience with java too. can anyone help?
javerna at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 8

I am having a similar problem..

Unable to create MIDlet MyGameMIDlet

java.lang.ClassNotFoundException: MyGameMIDlet

at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:147)

at com.sun.midp.midlet.Selector.run(Selector.java:151)

I am absolutely new at all this.. and i am using netbeans.

Can some one help please

thanks

ilss123a at 2007-7-7 15:58:22 > top of Java-index,Java Mobility Forums,Java ME Technologies...