The installation of the J2ME Wireless Toolkit on Mac OS X is quite simple.
1. Download the toolkit from the Sun website. Make sure to download the Linux version, because there is no dedicated Mac OS X version. But no problem: the Linux version will run on the Mac.
2. Open the Terminal.
3. Run the downloaded installer. You will be probably asked for the Java installation and a location where the wireless toolkit is to be deployed.
4. After the installation is finished, change into the directory, where you have installed the wireless toolkit.
5. Create a copy of the Linux directory and rename it to Mac.
6. Run the application by typing bin/ktoolbar.
So far so good. However, J2ME applications compile and build now, but I did not manage to run the emulator yet. The error message I get is “cannot execute binary file“. Does anyone know how to avoid this problem?
Ok, that's all good. I tested it and i worked fine on Leopard (with the exception of the emulator which I did not try yet).
Since I feel somewhat guilty now,
At point 3. you will be asked for the location of Java. For newcommers to Mac, this might be hard to find. Well, here it is; /Library/Java/Home/bin
Also, instead of using the ktoolbar. I suggest you download the latest Eclipse and install it along with EclipseME. This combination is awesome when creating midlets!
Anyway, hope more people will find this information now that I also
edit: in addition, to run the installer you must
$ chmod +x sun...bin