Question

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".

Was it helpful?

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

OTHER TIPS

If you want to use ANT I have simply copied over the required jars from the Windows SDK and just used the pre verifier and javac from the osx 3.0 sdk, works well!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top