This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When running the sample Hello midlet I get the following message in the output window: /dev/dsp: No such file or directory Unable to create MIDlet hello.HelloMidlet java.lang.ClassNotFoundException: hello/HelloMidlet at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:156) at com.sun.midp.midlet.Selector.run(Selector.java:150) -------------------------------------------------------------------------------------------------- netbeans.conf contains path to jdk: # default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch netbeans_jdkhome="/opt/jdk1.6.0_02" --------------------------------------------------------------------------------------------------
This basic case works for me. The error message seems to detect missing MIDlet in the distribution jar. Please check in Files tab of the Explorer if the dist/<your app>.jar contains the requested midlet. And try to clean and build the project again.
Problem resolved -it's now working. Erroneously I had put the same path in the Project Location and the Project Folder in the New Project wizard, eg Project Location: /home/user/project1 Project folder: /home/user/project1 correct paths should be: Project Location: /home/user Project folder: /home/user/project1 Asotona: your hint of missing midlet and suggestion to rebuild sorted me out - many thanks ps still get "/dev/dsp: No such file or directory" but this doesn't stop it working
c