Categories: Java ME | S60 | How To | Development Process | Eclipse
The combination of tools listed here (all free) has been tested by the writer to work for developing applications for S60 using Java ME. For future editors of this article: please make sure that your edits have been tested in practice, to prevent developer frustration.
Contents |
| tool | recommended version | download | notes |
|---|---|---|---|
| a Java SE (Standard Edition) Development Kit (JDK) | JDK 6 Update 12 (note: Java* 6.0 is the same as J2* 1.6.0) | here (check for the latest version) | Needed by the following tool. When downloading, select your platform, then click on the file name. The installation directory of the SDK is C:\Program Files\Java\jdk1.6.0_12, and that of the JRE that is part of the installation is C:\Program Files\Java\jre1.6.0_12. Accept these defaults. |
| the Sun Java Wireless Toolkit for CLDC | 2.5.2 | here (search for "Sun Java Wireless Toolkit 2.5.2 for CLDC") | In the "Java (TM) Virtual Machine Location" phase of the installation, the latest JDK on your machine is automatically detected. If that is later than JDK 6 Update 12, then browse to the directory C:\Program Files\Java\jdk1.6.0_12. The default installation directory of the tool is C:\WTK2.5.2.
Note: The Wireless Toolkit has been integrated into Java ME SDK 3.0. While you are welcome to use the Wireless Toolkit, the Sun Developer Network highly recommends the newer feature-rich Java ME SDK 3.0 here. |
| Nokia SymbianOS/S60 SDK for Java | S60 5th Edition SDK | here | You must be logged in to Forum Nokia in order to download the file. (Creating a Forum Nokia account is quick and free.) Unzip the downloaded file, S60_5th_Edition_SDK_v1_0_en.zip, into a directory, and run the unzipped setup.exe installer program. The default installation directory is C:\S60\devices. Some features require Pearl installation. |
| the Eclipse IDE | 3.2.2 | here | Unzip the downloaded file, eclipse-SDK-3.2.2-win32.zip, into C:\Program Files\eclipse, or, if you prefer, to another directory. (The writer prefers to append the version number to the installation: C:\Program Files\eclipse-3.2.2 in this case.) To run the IDE, execute eclipse.exe, found in the main directory. |
| the EclipseME plugin for Eclipse | 1.7.9 | here | This is the last EclipseME version that runs on top of Eclipse v3.2. Save the downloaded file, eclipseme.feature_1.7.9_site.zip, somewhere. Instructions for integrating the plugin with Eclipse are given below. |
| Java ME Developer's Library | 3.1 | here (search for "Java ME Developer's Library v3.1 (Eclipse plug-in)") | Download the file Java_ME_Developers_Library_v3_1_eclipse_plugin.zip. Installation instructions below. This documentation is not absolutely necessary for development, but it is very useful. After you've installed it, it is available to you from Eclipse's Help function. |
Note that in addition to Eclipse, Nokia also supports the NetBeans IDE (plus its Mobility Pack) for S60/Java ME development. See here for more details.
After downloading all the tools above, perform the following.