Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 830
JohnEye Avatar asked Aug 28 '12 13:08

JohnEye


3 Answers

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

like image 193
Nikolay Avatar answered Nov 01 '22 21:11

Nikolay


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.

like image 3
funkybro Avatar answered Nov 01 '22 19:11

funkybro


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.

like image 3
Konstantin Komissarchik Avatar answered Nov 01 '22 19:11

Konstantin Komissarchik