S60 3rd Ed MIDP SDK FP1 Installation Guide 1.01
S60 3rd Ed MIDP SDK FP1 Installation Guide 1.01
S60 3rd Ed MIDP SDK FP1 Installation Guide 1.01
S60
Feature Pack 1, for MIDP
Installation Guide
Version 1.01
November 29, 2006
DN0669139
S60 3rd Edition SDK for Symbian OS Supporting Feature Pack 1, for MIDP - Installation Guide | 2
Legal Notice
S60, Nokia and Nokia Connecting People are registered trademarks of Nokia
Corporation. Java and all Java-based marks are trademarks or registered trademarks of
Sun Microsystems, Inc. Other product and company names mentioned herein may be
trademarks or trade names of their respective owners.
Disclaimer
The information in this document is provided “as is,” with no warranties whatsoever,
including any warranty of merchantability, fitness for any particular purpose, or any
warranty otherwise arising out of any proposal, specification, or sample. Furthermore,
information provided in this document is preliminary, and may be changed substantially
prior to final release. This document is provided for informational purposes only.
Nokia Corporation disclaims all liability, including liability for infringement of any
proprietary rights, relating to implementation of information presented in this document.
Nokia Corporation does not warrant or represent that such use will not infringe such
rights.
Nokia Corporation retains the right to make changes to this specification at any time,
without notice.
License
A license is hereby granted to download and print a copy of this specification for
personal use only. No other license to any other intellectual property rights is granted
herein.
Contents
1. Introduction ......................................................................................................... 4
1.1 About this Installation Guide ...........................................................................................4
1.2 Who Should Read this Guide?........................................................................................4
1.3 Typographical Conventions.............................................................................................4
2. System Requirements......................................................................................... 5
2.1 Hardware requirements...................................................................................................5
2.1.1 Minimum hardware configuration ...........................................................................5
2.1.2 Supported peripheral hardware..............................................................................5
2.2 Software Requirements...................................................................................................6
2.3 Additional Installation Requirements...............................................................................6
3. Installing the SDK................................................................................................ 7
3.1 Prerequisites ...................................................................................................................7
3.2 Installing the JavaTM 2 platform .......................................................................................7
3.3 Verifying DirectX version.................................................................................................7
3.4 Installing the SDK............................................................................................................7
4. IDE Configuration.............................................................................................. 12
4.1 Installing Eclipse ...........................................................................................................12
4.1.1 Installing Carbide.j ................................................................................................12
4.1.2 Adding the S60 SDK emulator to Eclipse.............................................................13
4.1.3 Installing the Eclipse documentation plug-in ........................................................13
4.2 Installing and configuring NetBeans .............................................................................14
4.2.1 Installing the NetBeans documentation plug-in ....................................................15
4.3 Configuring the S60 emulator as a UEI emulator device in WSDD ..............................15
5. Uninstalling the SDK......................................................................................... 16
6. Further information ........................................................................................... 17
1. Introduction
This document describes what you need to know and do to install S60 3rd Edition SDK
for Symbian OS Supporting Feature Pack 1, for MIDP.
The SDK enables MIDP application development for devices based on the S60 platform.
The SDK is based on the S60 3rd Edition Developer Platform and Symbian OS v9.2. It
includes all key functionality needed for application development, including
documentation, API reference information and an emulator.
The following steps will guide the installation and setting up of the SDK software on your
PC. The installation package contains a phone emulator, Java TM class libraries, API
reference documentation, user documentation and an uninstaller.
You should read this guide if you plan to install S60 3rd Edition SDK for Symbian OS,
Supporting Feature Pack 1, for MIDP.
Notation Explanation
Courier • Text that you enter (as opposed to system prompts
and responses)
• File paths
• Commands
• Program code
• Names of books and documents
Italic
• New terminology
Bold Names of Microsoft Windows menus, commands,
buttons, and icons
2. System Requirements
Before installing the SDK, check that you have the minimum hardware and software
requirements listed in this section. With these minimum requirements, you can run the
SDK as a standalone application. If you plan to use the SDK with an integrated
development environment (IDE), please make sure you have the requirements mandated
by the IDE in question.
The minimum hardware configuration for installing and running the SDK is:
• 16-bit colour
• 1024x768 resolution
• Microsoft Windows compatible sound card is required for the audio support
• TDK BRBLU04
• Brainboxes BL-500
Infrared devices:
Network cards:
The minimum software requirements for installing and running the SDK are listed below.
• The SDK must be installed in a path that does not contain any whitespace
characters.
• SDK, IDE and your project files must be located on the same logical drive as
build tools to work correctly in all situations.
3.1 Prerequisites
All installations should be performed with an account that belongs to local administrators
group. You should close all other applications before starting the installer.
1. Go to the http://java.sun.com/downloads/index.html.
2. Select J2SE 1.4.2 (or newer) from the Java Platform, Standard Edition
(Java SE) drop-down menu and click Go.
To verify that you have DirectX 9.0c installed on your PC, enter the following command
in the Command Prompt:
dxdiag
The DirectX version installed on your PC is displayed in the System tab of the DirectX
Diagnostic Tool window that appears.
If the version is not 9.0c (or higher), you need to update it. You can get the latest
DirectX from the Microsoft DirectX Home Page at
http://www.microsoft.com/windows/directx/default.mspx.
This section provides the basic steps for a typical installation of the SDK. By following
the steps below you will install the SDK to your PC and be able to start application
development.
Once you have downloaded the installation package (.zip file) on you PC, installing the
S60 SDK takes place through the SDK Installer, that is, the InstallShield Wizard. The
following will take you through the steps needed to install the SDK.
2. Click Next.
3. If you are ready to accept the license agreement (recommended), click the I
accept the terms of the license agreement radio button and click Next.
Note: If you do not accept the license agreement, installation of the SDK is
aborted.
If you do not want to install the SDK to the proposed default directory
(C:\S60\devices\) you can browse the installation directory by clicking the
Browse button. The installation directory should not contain spaces.
4. Click Next.
5. Accept the settings by clicking Next. (If you want to modify them, click Back
and modify the settings as needed.)
The InstallShield Wizard starts installing the SDK. The Setup Status dialog
displays the installation status:
The SDK is now fully installed on your PC. You can verify this through the
Windows Start menu by, for example, opening the SDK Help by selecting Start >
All Programs > S60 Developer Tools > 3rd Edition FP1 SDK > Java > SDK
Help.
4. IDE Configuration
If you plan to use the SDK with an integrated development environment (IDE), please
read the documentation for the IDE in question for detailed installation and configuration
instructions.
• Carbide.j 1.5
• NetBeans 5.0
The IDE used must be located on the same logical drive as the SDK. IDEs must be
installed on your computer with administrator rights. Otherwise, some environment
variables may not be set correctly.
Note: Before installing IDEs, please refer to its documentation for minimum
software and hardware requirements.
2. Extract the contents of the downloaded zip file to your preferred location (for
example, C:\Program Files\Eclipse).
Note: when unzipping, make sure that Use folder names is checked to
preserve Eclipse's directory structure.
The Eclipse installation is completed when Eclipse is run for the first time.
Since the Carbide.j as a standalone application does not include tools for editing,
compiling or debugging the MIDlet and personal profile classes, it is here
recommended that you install Carbide.j integrated with the Eclipse IDE, which
provides tools for editing, compiling and debugging MIDlets. Thus, these
installation instructions presume that you already have Eclipse installed on your
PC.
3. In the License agreement pane, read through the license agreement, click
the I accept the terms of the License Agreement radio button and click Next.
4. In the Choose install set pane, select Eclipse as the installation set and
click Next.
If you want to change the installation settings, click Previous, make the
needed changes (in the panes described above) and, once you return to the
Pre-installation summary pane, click Install.
Notice that you need to restart your PC after installation in order to get all
Carbide.j features running. As Carbide.j has here been integrated with Eclipse,
you can access its features in Eclipse by selecting Tools > Carbide.j from the
Eclipse menu bar.
In Eclipse you also need to add the S60 SDK Emulator to available emulators.
Proceed as follows:
3. In the Open dialog, browse to the SDK installation directory (for example,
C:\S60\devices\S60_3rd_MIDP_SDK_FP1) and click Open.
The S60 SDK emulator has now been added to the list of supported emulators in
Eclipse.
The SDK Help documentation can be integrated into the Eclipse Help by with the
Eclipse documentation plug-in provided in the SDK installation zip. To install the
plug-in, do the following:
1. Close Eclipse.
6. If you want to accept the license agreement, click the I accept the terms of
the license agreement radio button and click Next.
Note: If you do not accept the license agreement, installation of the Eclipse
documentation plug-in is aborted.
8. Once you have set the root folder of you Eclipse installation as the
destination location, click Next.
10. Once the installation is complete, click Finish in the InstallShield Wizard
Complete dialog.
The SDK Help documentation is now accessible through your Eclipse Help. You
can verify this by selecting Help > Help Contents from the Eclipse menu bar:
the S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1, for MIDP
help is displayed in the Eclipse Help table of contents.
In order to integrate NetBeans IDE with MIDP SDK you also need to install NetBeans
Mobility Pack. The following steps guide you through installing both NetBeans and the
NetBeans Mobility Pack, as well as configuring the S60 SDK for NetBeans.
2. Double-click the installer's icon in the downloaded installer file to launch the
installation wizard. Follow the installation instructions provide by the wizard.
3. Start NetBeans from the Windows Start menu by selecting Start > All
Programs > NetBeans 5.0 > NetBeans IDE.
6. In the Select platform type section of the Add Platform dialog, select Java
Micro Edition Platform Emulator and click Next.
7. In the Platform folders section of the Add Platform dialog, click Find More
Java ME Platform Folders….
8. In the Choose directory to search for platforms dialog, browse to the SDK
installation directory (for example,
C:\S60\devices\S60_3rd_MIDP_SDK_FP1) and click Search.
9. Make sure that the S60 SDK installation folder is checked in the Platform
Folders list and click Next.
NetBeans detects the S60 SDK platform, as displayed in the list of detected
platforms.
The S60 SDK has now been configured for the NetBeans IDE.
The SDK Help documentation can be integrated into the Eclipse Help by with the
Eclipse documentation plug-in provided in the SDK installation zip. To install the
plug-in, do the following:
1. Close NetBeans.
6. If you want to accept the license agreement, click the I accept the terms of
the license agreement radio button and click Next.
The SDK Help documentation is now accessible through your NetBeans Help.
You can verify this by selecting Help > Help Contents from the NetBeans menu
bar: the S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1, for
MIDP help is displayed in the NetBeans Help table of contents.
After installing the IBM® Websphere Studio Device Developer 5.7.1 (WSDD), you need
to configure the S60 emulator as a UEI (Unified Emulator Interface) emulator device in
order to be able to run MIDlets on it from the WSDD.
1. Select Devices > Configure... or click the Devices icon the WSDD toolbar.
3. Enter a name for the device by editing the Device name field.
4. To complete the Emulator root directory field, click Browse to search for
the file system and select the installed S60 MIDP SDK main directory (for
example, C:\S60\devices\S60_3rd_MIDP_SDK_FP1\):
5. Click OK.
The S60 SDK emulator has now been configured for WSDD, enabling you to launch
applications in the S60 emulator from WSDD.
2. In the Control Panel double click the Add or Remove Programs icon.
3. In the Add or Remove Programs window, click the 3rd Edition FP1 SDK
program in the list of currently installed programs.
4. With the 3rd Edition FP1 SDK program selected, click Remove.
5. When prompted to confirm whether you want to uninstall the SDK and all its
features, click Yes.
6. Once the SDK has been removed from your PC, Install Wizard informs you of
this: Click Finish to exit the Install Wizard.
Note: Always uninstall the SDK through the Add or Remove Programs
application, as described above. Do not attempt to uninstall the SDK manually
in, for example, the Windows Explorer.
However, if you have used the emulator prior to uninstalling the SDK there may
remain some SDK-related files and folders in the
<S60_SDK_installation_directory>\S60\devices\S60_3rd_MIDP_SDK_
FP1\ directory even after removing the SDK through the Add or Remove
Programs application. These files and folders need to be removed manually
by, for example, deleting them in the Windows Explorer.
6. Further information
Once you have installed and initially configured the SDK, you can find information on
how to use the SDK from the User’s Guide and the SDK Help. You can open these from
the Windows Start menu by selecting Start > All Programs > S60 Developer Tools >
3rd Edition FP1 SDK > MIDP > SDK Help.
For late-breaking information, please refer to the Release Notes, which you can open
directly from the installation package (ReleaseNotes.txt).