Install and configure the native SDK
The BlackBerry 10 Native SDK includes everything you need to develop programs that run under the BlackBerry 10 OS: compiler, linker, libraries, and an extensive QNX Momentics IDE.
Before installing the native SDK, make sure your system meets the system requirements at http://developer.blackberry.com/native/downloads/bb10/requirements_nativesdk.html .
Download the installer file from http://developer.blackberry.com/native/download to a location on your host system, and launch the installation program.
where nnn-nnnnnnnnnnnn-nnnnnnnnnnnn is the identifier for the specific release.
During the installation program, you will be prompted to:
- Click Next on the first panel of the installer to
begin.Mac developers may need to provide an administrator password to continue.
- Review and accept the license agreement, and then click
Next. You must scroll to the end of the license text in order for the I agree option to become active to click Next.
- Specify a location where you want to install the software, and then click
Next. Do not include any spaces in the directory name. Also, keep in mind that if you are installing to a user directory that isn't available to others, the installation will only be accessible by you.
- Select where you would like the product icons to appear (on Windows and Mac systems), and then click Next.
- Review the pre-installation summary, and then click Install.
- Click Done when the installation process completes.
After the installation, if you specified that a shortcut was to be created on your desktop, you'll find an icon for the QNX Momentics IDE on your Windows system. Alternatively, clickto launch the IDE.
On Linux systems, type ./opt/bbndk-10.0.9/bbndk.sh in a terminal window to launch the IDE if you installed the native SDK as the root user. Otherwise, type ./home/username/bbndk-10.0.9/bbndk.sh.
On Mac systems, click the alias you specified during the installation process to launch the IDE. Alternatively, navigate to /Developer/SDKs/bbndk-10.0.9/ and run bbndk.command.
If you plan to use native SDK from the command line, type the following to set the environment variables used by the native SDK command line tools. The location of bbndk-env will be different if you've chosen an installation folder other than the default.
On Linux, if you installed the native SDK as a root user:
On Linux, if you installed the native SDK as a non-root user: