###OPEN ISSUE <15>###
There are two wizards for creating MTJ projects:
Java ME Project
The Java ME Project must be used for all Java ME profiles other than
MIDP profile. The Java ME Projects are extensions of an Eclipse Java project.
Additional resources include the mtj.project file, which is a control
file that points to the SDK libraries. This file must not be edited.
Midlet Project
The MTJ Midlet Project creates resources that are required to define
a MIDlet. The project includes a xxx.jad file (xxx is the project name).
This file is the Java Application Descriptor file defined in the MIDP
specification.
Note: When creating an MTJ project, you also define the mobile runtime for the project. To do this, you need to have the desired mobile SDK installed on your computer.
To create a new MTJ project
In the menu bar, select
File -> New -> Project.
New Project wizard opens with the Select a wizard window.
Expand Mobile Tools for the Java Platform and choose one of the following:
If you want to create a Java ME project using
a profile other than the MIDP, select Java
ME Project and click Next.
The MTJ Project window opens.
f you want to create a MIDlet Project, select
Midlet Project and click Next.
The MTJ Midlet Project Creation window opens.
Click Next.
The Java Settings window opens.
Click Next.
The Templates window opens.
MTJ provides one example template, the Hello_World_MIDP.
If you want to create a functioning Java ME project from template,
check the box next to Use template to
create Java ME project and select the template from the list.
The system creates a functioning Java ME project into your workspace,
with the chosen template's MIDP code in the source folder.
Click Finish.
You have now created an MTJ project. The project folder is displayed
in the Eclipse's Package Explorer view.
In Package Explorer view, expand the project folder.
The project folder displays the contents of the project. These include
the chosen runtime library, the optional separate source folder, the project
folder, the optional MIDP package and the JAD file.
![]()
Mobile Tools for the Java Platform
Mobile SDKs
Mobile runtimes
![]()
Managing mobile SDKs
Creating your first MIDlet
Editing the JAD file