javamacosjava-mecldcjava-wireless-toolkit

Developing CLDC or J2ME applications under Mac OSX?


I have noticed that Oracle now has released a Java Platform Micro Edition SDK for OSX. It works, it can compile the provided examples and the included phone emulator works too. But how do I compile my own J2ME project from Ant or Eclipse?

There are a lot of related jars but they are all inside the ".app" in the /Applications directory. Eclipse does not like it when I put a toolchain path to inside the ".app".


Solution

  • Have you tried using the EclipseME plugin? It helps integrate JavaME (J2ME) development into Eclipse. Here's a guide for getting it working with Eclipse:

    Eclipse ME / Configuration

    You'll find plenty of documentation and how tos.

    If you don't like EclipseME, I personally found Netbeans very good for mobile development:

    Netbeans JavaME Page

    Also, you weren't specific in your question, but the link you've provided seems to indicate you want to use MTJ. In that case, use this documentation to guide you through:

    Eclipse MTJ - Getting Started