Building MTJ projects

After you have created your MIDlet application, you need to do a build to generate the JAR/JAD package. The build process compiles the source code and builds the project.

Note: A successful build is a prerequisite for the successful running of the application in an emulator. Before the build, confirm that all the necessary resources are included in the res folder.

To build an MTJ project

To build an MTJ project, you need to have an MTJ project open in your workspace. Save the project before building.

  1. In the Navigator view, right-click the desired MTJ project.
    A context-sensitive pop-up menu appears.
  2. Select MTJ -> Build MTJ Project.

If the build process is successful, a deployed folder appears under the project in the Navigator view. The folder contains the JAD and JAR files that were generated with the build process.

  1. Click Save.

Note: Projects that have been previously signed before building are automatically re-signed during the build process.


Mobile Tools for the Java Platform


Creating your first MIDlet

Running applications


Wizards

JAD file