This section shows you how to setup the Java™ ME development environment, create a simple HelloWorld MIDlet for Nokia Asha and Series 40 software platform devices, and has instructions for creating the MIDlet in Nokia IDE for Java ME (Eclipse) and NetBeans.
Figure: HelloWorld MIDlet running on a Nokia Asha (left) and Series 40 (right) software platform device
Before setting up the development environment, make sure your computer meets the following minimum requirements:
Microsoft Windows 7 Enterprise, Professional, or Ultimate Editions; Service Pack 1; 32- or 64-bit (recommended) or Microsoft Windows 8 Professional or Enterprise, 32- or 64-bit
2.8 GHz Intel Pentium class processor
2 GB RAM
1 GB free disk space, more if you plan to install multiple SDKs
Display capable of displaying 24-bit colour at 1280x1024 pixel resolution
Sound card
Network interface card
Before you can create your first MIDlet, you need to set up the software for developing and deploying MIDlets, that is, the Java ME development environment. Install an integrated development environment (IDE) to create the MIDlet. Nokia recommends using either Nokia IDE for Java ME (Eclipse) or NetBeans IDE ("NetBeans"). If you are new to Java ME development or have no previous experience of either IDE, consider the highlights of both IDEs.
The following table contains the highlights of Nokia IDE for Java ME (Eclipse) and NetBeans.
IDE |
Highlights |
Nokia IDE for Java ME (Eclipse) |
|
NetBeans |
|
Depending on your choice, you can refer the following sections:
After you have created and deployed the HelloWorld MIDlet, take a look at further developer resources provided by the Java Developer's Library.
You can download the Nokia IDE and NetBeans project files for the HelloWorld MIDlet from the MIDlet download page.