Oracle Blog

Blog for Java ME SDK

How To Integrate Java ME SDK with Eclipse?

Many asked how they can use Java ME SDK on their favorite IDE, Eclipse. Well, it is not most recommended because you lost the advanced features provided by NetBeans, there certainly is a way to use Java ME SDK with Eclipse. Please see below.

Requirements

JDK 6 Update 27

Java ME SDK 3.0.5

Eclipse Classic 3.7.1

Instruction

Mobile Tools for Java (MTJ) Plugin Installation

First, you need to install MTJ Plugin.

1.Start Eclipse and go to the “Help” -> “Install New Software...”

2.Insert link to MTJ (http://download.eclipse.org/mtj/updates/1.1.2/stable) into the “Work with” text field

3.Press “Enter” key

4.Check “Mobile Tools for Java”, and press "Next Button".

5. Press the "Next" button again.

6. Accept the terms of the license agreement, and press the "Finish" button.

Java ME SDK Emulator Integration

Once you have installed MTJ Plugin, then follow the process below to integrate Java ME SDK.

Ok,
Thanks M. Stevens. I will give it a try. I think (from my searches in internet) that still there are many people interested in the subject (and not only in Android) so it would be nice if you can publish (in this blog or other related) your procedure to get the whole set up working.
Thanks again.

Follow up the instruction to setup Java_me_sdk + Eclipse + MTJ under my mac OS, while I running a J2me project ,it prompt an error :
Failed to connect to device 1!
Reason:
Emulator 1 terminated while waiting for it to register

I have i little prob. I have the same system as you, but my tries end on this: Installing suite from: http://127.0.0.1:10364/MidletTest.jad
Processing UPDATE_CLASS
ERROR - UNKNOWN - C:/Builds/jme-sdk/javacall-javame-sdk-305/implementation/share/cms_sqlite/javacall_cms_content.c line 428: Can't insert new content data: constraint failed

Thanx for the information. My eclipse installed Java Mobile tools but no directory was created like JAVA ME 3.0.5 or any kind of that. I can see Java ME installed but cannot add devices please help me........

@mladen, We found some issues on Eclipse Juno. Java ME SDK depends on MTJ, but MTJ is not downloaded and installed automatically on Juno. You have to download and set it up separately, and then try adding Java ME SDK again.