This is my take on the setup of a windows XP 32 computer for developing applications for the Symbian S60 Nokia devices. The setup stated by Nokia is located at the link:http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60
The rationale for creating a new guide is that the guide from Nokia is difficult to grasp. I hope this new guide is a help to you, and any errors in this guide will be corrected.
Installing the IDE for developers to S60 devices
Start from the top:
- Download and install the latest “JDK” (Java Developers Kit) from http://java.sun.com/javase/downloads/index.jsp
- Download and install the latest “Sun Java Wireless Toolkit” from http://java.sun.com/products/sjwtoolkit/download.html
- Download and install the latest “S60 Platform and Device SDKs for Symbian OS” from http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html. You have to download the SDK specific for your phone (and i dont know how you figure out which version your phone supports )
- Download the Eclipse IDE (This is the IDE “Integrated Development Environment” where you will actually write your applications) from http://www.eclipse.org/downloads/ select the latest “Eclipse Classic” version, and unpack Eclipse to a location on your HD.
- Download and install the latest EclipseME from http://sourceforge.net/project/showfiles.php?group_id=86829 The way to do this is listed below:
- unpack the “eclipseme.feature_XXX_site.zip” on your hard drive to a local folder.
- Find the “eclipse.exe” under your newly installed Eclipse folder and execute it.
- In Eclipse goto menu “help”->”software updates”->”available software”->”add site”->”Local…”->’select the folder that you unpacked the EclipseME to’->Select EclipseMe and click update.
- Accept the requirements. Eclipse Me is now installed.
- Download and install Java™ ME Developer’s Library from: http://www.forum.nokia.com/info/sw.nokia.com/id/3cfc525e-f0ec-491c-badd-085c0e2df8bf/Java_ME_Developers_Library.html. Select either the stand-alone version or the Eclipse version (I installed the Eclipse version. This will incorporate the Nokia help in Eclipse).
- Eclipse version: Copy the Java_Developers_Library_XXX.jar into the “..eclipse\plugins” directory
- Configuring Eclipse’s Java options (copied directly from http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60)
- In Eclipse, select the menu item Window | Preferences.
- Expand node Java | Build Path.
- For item Source and output folder, select the radio button Folders, and keep the defaults (src and bin).
- Expand node Java | Debug.
- Uncheck Suspend execution on uncaught exceptions.
- Uncheck Suspend execution on compilation errors.
- Set Debugger timeout (ms) to 15000.
- Press OK.
Now the development invironment is installed and you are ready to develop your application to your phone.
Nokia has supplied a page for you to get started with applications development at this address: http://wiki.forum.nokia.com/index.php/Creating_your_first_MIDlet_using_EclipseME
Notice: Some of the supplied Nokia samples does not work (ex: http://www.forum.nokia.com/info/sw.nokia.com/id/f7e8ad78-7898-4053-ab83-74c147923866/MIDP_Location_API_Example_Tourist_Route_v1_0.zip.html) and have to be fiddled with for them to work. This is not an error on your side, this is the result of a phone developer (Nokia) trying to create applications to their own phones: Shitty software.
Nokia does not allow you to run your own applications on your own phone without you buying a seriously expensive signing contract (See http://discussion.forum.nokia.com/forum/showthread.php?t=147710). This should serve as a warning before starting any development to the Symbian platform. If you dont buy a licence at 200US$ a year you wont be able to create applications to your own phone that will not spam you with “file save”, “file read”, “GPS”, etc messages.
These messages is horrible and actually means that you cannot create an application and use it in your own Symbian phone that uses the GPS, file system or the other vital systems in your phone without a messagebox occuring. Any application using a save machanism (ex. save progress every 10 minutes) is out of the question.
Nokia delivers a reasonable developers environment, but the usage of the IDE is (more or less) restricted to the developers payng premium cash to the signing agencies i.e. professional developers. We should not expect to see freeware applications to the Symbian platform (who, in their good minds, would pay 200US$ a year to provide us with free applications?)