Install Eclipse
Download Eclipse IDE for Java Developers from:http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/indigosr2, select your operative system (in my case Windows 32 bit). Once the download is complete, extract the content of the zip file to a folder (i.e: D:\eclipse) and execute the eclipse.exe file.
Note: At the moment of this tutorial the latest versions of eclipse (Kepler) had some issues with the Java ME plugins, so I decided to use the Indigo version that is fully working with Java ME.
Once presented, select a workspace and click OK.
Install Java ME eclipse plugin
In order to install the Java ME plugin, we need first to install the Eclipse Mobile Tools for Java (MTJ) toolkit.
Open Eclipse and go to Help, Install New Software
The following page should be displayed:
In the “Work with” field enter: http://download.eclipse.org/releases/indigo
and click Add.
When the plugins are loaded, expand Mobile and Device Development Tools and select “Mobile Tools for Java”, “Mobile Tools for Java Examples” and “Mobile Tools for Java SDK”. Click Next.
In the next screen click next
Accept the license agreement and click Finish
Eclipse will require a restart, so please go ahead and restart eclipse.
Now let’s install the “Java ME SDK 3.4 Plugins for Eclipse”:
Again, go to Help, Install New Software.
Click Add, and in the popup type a name (i.e: Java ME plugin) and click on Archive and browse to where the Java ME SDK 3.4 Plugins for Eclipse zip file is, and click OK.
In the next screen select the Java ME SDK Tools and click Next
In the following screen, click Next
Accept the license agreement and click Finish
Eclipse will require a restart, so please go ahead and restart eclipse.