JohnEye
JohnEye

Reputation: 6895

Is J2ME development still possible with recent versions of Eclipse?

I tried installing MTJ 1.1.2 from http://www.eclipse.org/mtj/, but after the restart, no new options appeared that would indicate that the plugin is even there. As the latest release is for Helios, I am afraid that the plugin no longer works with Juno and later.

Is it still possible to develop J2ME applications with Eclipse? If so, how? If not, what are the alternatives?

Upvotes: 5

Views: 4417

Answers (5)

Nikolay
Nikolay

Reputation: 41

Eclipse Juno The Oracle Java ME SDK requires the MTJ toolkit, but it is not bundled with Juno and it must be installed manually. Therefore, install MTJ toolkit first.

  • Go to Help > Install New Software.
  • In the "Work with" field, enter this URL: http://download.eclipse.org/releases/indigo
  • Click Add. When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java, Mobile Tools for Java SDK, and Mobile Tools for Java Examples. Click Next. On the installation screen select all plugins and click Finish.
  • A Juno plugin named org.eclipse.jetty.server_(version).jar conflicts with the MTJ libraries when the plugin version is higher than 6. If it is you must prevent it from loading by changing its name so the Jar file is not parsed. For example, change it to: org.eclipse.jetty.server.old

see: http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html

Upvotes: 4

Ewald
Ewald

Reputation: 5761

I've found that using the NetBeans IDE is simpler for Java ME development, especially with the new Java ME 8 SDK. All the Oracle examples are NetBeans too.

Upvotes: 0

funkybro
funkybro

Reputation: 8671

You don't need a plugin at all, you can point eclipse to the midp and cldc jar files, and write your own ant/antenna script to package a midlet.

Upvotes: 3

Konstantin Komissarchik
Konstantin Komissarchik

Reputation: 29139

The interest in J2ME has waned post advent of iOS and Android. The MTJ project has been inactive for a while and will likely be archived soon. You can see project activity dropping off to nothing...

http://www.eclipse.org/projects/project.php?id=tools.sequoyah.mtj

If you must write for J2ME, you will need to stay on an older version of Eclipse or grab MTJ sources and port it to the newer version of Eclipse yourself.

Upvotes: 3

Telmo Pimentel Mota
Telmo Pimentel Mota

Reputation: 4043

I have faced the same problem as you. What I did was to keep using Eclipse Indigo.

Upvotes: 1

Related Questions