1. Install Eclipse Classic
2. Update Java on Computer + Install JDK 5 or 6?
3. Install Wireless Toolkit - MPowerPlayer ( emulator)
4. Install Mobile Tools for Java - plug in for Eclipse to make Midlets
5. Configure MTJ and Eclipse Settings
6. Get hello world running!
A. Under Window Menu > Preferences > J2ME > Device Management --import a wireless toolkit.
B. Under File Menu >New Project> J2ME > midlet --make a new project
C. Set a wireless toolkit for the project (you might have been asked about this when you made the project and can skip) Right (command) Click on the project Properties > J2ME Pick a wireless toolkit for this project.
Install Mobile Tools for Java
A. First see if all the steps before were completed
B. Eclipse > Software Updates > Add website>> http://download.eclipse.org/dsdp/mtj/updates/1.0/stable/
C. Some steps I missed out! Will try to reinstall later! ( come back later to write about it - maybe nothing is missing...)
D. Get the PreProcessing setup ( check installation MTJ link)
Get Examples Running:
A. New project > Java ME > MiDlet Project
B. Give it a name. Check to see if MPowerPlayer is active on the Configuration
C. Press Finish > Then Yes
D. Opens Overview
E. Select Project > New Class
F. Code or Paste Code
H. Click Application Descriptor > Choose Midlets ( Menu on the Bottom) > Add > Give name and choose class name ( browse > show all the classes) > Apple + S to Save
I. Control+Click Class > Run As > Emulator Java ME Midlet
J. Export: Mobile Tools for Java > Create Package > Files go to Deployed Folder > filename.jar >> send to phone!
note: if error> Have to do something to the project config file: Application Description > RunTime > Add > Give it a Name +Define Sdk and Device
Eclipse Download ( Classic for Mac)
Mobile Tools for Java
Tutorials 1 | 2
Get Files from CVS