J2ME development Journal

Sunday, January 29, 2006

Setting Up EclipseME

Ok EclipseME working, its pretty straight forward of anyone who doesn't want to go through the docs on the EclipseME site.

1. You need a toolkit, I'm using the Sun Wireless Toolkit, but a quick google will reveal the nokia, motoral etc, toolkits.

2. Your going to need Eclipse, straight forward enough.

3. If your behind a firewall, like me your going to have to put in your proxy details into eclipse, go to "Window" -> "Preferences" -> "Install/Update". Enter your details there.

4. To install the plugin "Help" -> "Software updates" -> "Find and install". Check the "Search of new features to install" and hit next. Click "New Remote site" and enter this address http://www.eclipseme.org/updates/ and whatever name you would like to call it.

5. Highlight the new option in the box on the left and hit next. Once this is completed restart eclipse.

6. Now you go to "window" -> "Preferences" -> "J2ME" -> "Platform components". Right click on "Wireless toolkits" and add the directory of your wireless toolkit. Folders in "Platform Components" should now become populated.

7. From here its as normal as using regular eclipse.

Simple.

Note: The default Platform is MIDP 1.0. You may want to consider changing this to MIDP 2.0. To do this right click on your new class go to "run.." -> "Emulation" and set it to emulation MIDP 2.0. You can also pick which phone you want to run your app on from here.

2 Comments:

Blogger Roxja said...

Not at all, work away.

6:36 PM  
Anonymous Anonymous said...

Roxja,
I think your post would be a great overview for people getting started with JME development and Eclipse, would you mind us posting it to EclipseZone with full credits intact?

6:37 PM  

Post a Comment

<< Home