Requirements and installation

To write Java applications for mobile phones, the compiler and the interpreter offered by JDK (Java Development Kit) command line utility can be used. However the programming productivity can be greatly increased using a Java development tool. There are several tools on the market today which support an Integrated Development Environment (IDE) to easy editing, compiling, building and debugging Java Program. The most popular IDEs for J2ME are: Eclipse, Carbide.j (developed by Nokia, www.forum.nokia.com) and NetBeans. They provide an environment to test and debug the application on a phone emulator before installing it on the real device. 

We focus our attention on NetBeans. It is and Integrated Development Environment (IDE) for developing Java server and client applications. To extend the functionality of NetBeans for Java technology enabled mobile devices applications development, the NetBeans Mobility Pack can be used. It a Plug-in of NetBeans IDE that offers features optimized for Mobile Information Device Profile (MIDP) and Connected Limited Device Configuration (CLDC) development. A mobile phone emulator is integrated in the Mobility Pack to test the applications and third-party emulators can be integrated to have a more robust testing environment.

You will find here the software you would need to get started. Our suggestion is to download the following files:

The installation must follow the order in the above list. The screenshots in the tutorial have been taken from Windows XP SP2 using NetBeans IDE 5.5 and NetBeans Mobility Pack 5.5.

Assuming that the installation of the software was successfully, when NetBeans is started the main window appears, as shown in the Figure 1 Click on it to enlarge).

 

Figure 1

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)ies.aau.dk
Copyright © 2006 Department of Electronic Systems

Last update:20-03-2007