Setting up the environment

These pages guides you through finding, installing, and configuring the Nokia IDE for Java ME with the Nokia Asha SDK. The subsequent pages cover using the IDE to create an app, test it on a PC with the SDK emulator, and run the app on a phone.

Step 2 — Install the Java Development Kit (JDK)

To develop software with the Nokia Asha SDK (or the earlier Nokia SDKs for Java and Series 40 release SDKs) you must download the 32-bit Java Development Kit (JDK) and install it on your computer.

Once you have downloaded the JDK, run the installer and follow the installation instructions.

Step 3 — Install the Nokia Asha SDK

This getting started guide is based on the latest Nokia Asha SDK, however, each release of earlier Series 40 platforms is also supported by an SDK. To choose the right SDK for your development, check out the details on the releases and the APIs each SDK supports here. In summary, for phones containing the Java Runtime for Series 40 you use the Nokia SDK for Java whose version matched the runtime’s version, for earlier releases simply match the platform version to the SDK name.

If you have a particular phone in mind as the target for your application, you can find out which release it’s built on or the Java Runtime it contains by consulting the Devices section. You can also use the Device SDK Selector tool in the Nokia IDE for Java ME to find the right SDK, this is covered in the next step.

In choosing the right SDK for your development, it’s recommended that you start with the SDK for the earliest version of the Nokia Asha or Series 40 platforms you wish to support. Taking this approach simplifies development. To explain, if you want your app to run on Series 40 5th Edition phones, using this SDK for development means you can be confident that your app will run on all later Series 40 editions. Starting with the latest edition may mean you need to redesign the app to make it work on earlier Series 40 releases, as later editions may include an API which isn’t available on an earlier edition.

Note: Some of the earlier SDKs require you to register them after 15 days; this process uses a key based on your Nokia Developer user name. There is no cost associated with registering; all of the SDKs are available free-of-charge. You can register the SDK earlier by opening the SDK emulator and on the Help menu clicking Register Now.

For this guide we are using the Nokia Asha SDK 1.1. With this SDK, you create apps for phones with the Java Runtime for Nokia Asha software platform (1.1.0), which supports the New Nokia Asha UI interface and provides the full range of APIs available on these phones. This SDK then enables you to test these applications against an emulation of the Nokia Asha 502.You have two installer options: a download of the complete SDK (the offline version) and a version that downloads the latest software when you run the installer (the online version). There is an installation guide included in the package if you need further assistance.

Once you have downloaded the Nokia Asha SDK, extract the content of the zip, run the installer, and follow the installation instructions. The Nokia IDE for Java ME is included in the package and installed with the SDK by default.

After installing the Nokia Asha SDK, if you chose the default options, the Nokia IDE for Java ME will start. When the IDE starts it automatically detects the Nokia Asha SDK and any Series 40 SDKs you have installed and configures them for you. You can verify this by clicking Preferences on the Window menu, and then looking for Device Management under the Java ME category.

Your development environment is now set and you are ready to create your first mobile Java app for the Nokia Asha developer platform.

Create a project and start coding your app ›