Developing J2ME on Apple OSX
Wednesday, April 30th, 2008Recently, we started a small mobile programming project with my colleague. We both have Intel based MacBooks, and we were willing to use these for J2ME development. However, a SUN Wireless Tool Kit (WTK) is not supported for Darwin platform. After some Googleing, I found from Javablog a tutorial on how to develop J2ME on OSX. Below is a screen shot showing an J2ME application running on my MacBook.
The first experiences were all positive, and Antenna tasks were straightforward to set up by following the tutorial. However, be warned, the emulator does not correctly implement the HTTP(S) Connection as defined in JSR-118 MIDP API. Even the HTTPConnection of J2ME should not do automatic redirects, running our code did some redirecting on Microemulator. This may not be major issue for simple development, but forced us to continue development on Linux using SUN’s WTK where the HTTP connections worked as expected.



