문제

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

도움이 되었습니까?

해결책

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

다른 팁

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top