Optionally, the JavaME SDK for further testing and deployment possibilities
Setup notes
Components should be installed in the order above, as the S60 (Symbian) SDK relies on the JRE, while Netbeans relies on the JRE and JDK.
On Windows Vista / Windows 7, before installing the S60 (Symbian) SDK, copy msvcr71.dll, which should have been provided by the Java JRE, to : *:/Windows/System32/ for 32-bit OS, or *:/Windows/SysWOW64/ on a 64-bit OS.
The S60 Emulator configuration file will need to be updated to include the latest Java JRE version. Open (installation folder)\bin\epoc32\tools\ecmt\config\config.properties and add the current version (1.6,6.0) to the epdt.java.version.start parameter.
If perchance you find the S60 device emulator crashing (simply disappearing a number of seconds after initialisation, try disabling your Realtek audio device.
The simplest program
Once you have the required tools available, you could compile your first application by using Netbeans' "New Project" wizard and creating a new project from the "JavaME" category. Alternatively, here is some concise code to display a Form with a title and a button to exit it from.