In the creation and compilation phase, you create or import the source files and then compile them into JavaTM bytecode classes. In addition to class files, a MIDlet can also feature other resource files, such as video, audio or images. Again, the default folder structure in Eclipse or NetBeans can be slightly different.
As in other versions of Java, compiling a MIDlet application in Java ME is a two-step process. First, write the actual code using an IDE or other text editor, and then compile the source into bytecode that a Java Virtual Machine is able to run. In order to compile the classes successfully, your working environment should match the one described in Requirements. You should also make sure all the necessary libraries that MIDlet development requires are located in your IDE's build path.
For more information on testing and debugging your MIDlets, see section Testing MIDP applications.