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?
preguntado el 28 de agosto de 12 a las 14:08
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.
- Vaya a Ayuda > Instalar nuevo 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
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.
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...
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.
I have faced the same problem as you. What I did was to keep using Eclipse Indigo.
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.