Creating the BlackBerry Project

Create a new BlackBerry SUP101Sample project in the BlackBerry Java Plug-in for Eclipse. Add library resources to the project.

Prerequisites
Install the BlackBerry Java Plug-in for Eclipse. Review the Supported Hardware and Software requirements to ensure you have the correct version.
Task
  1. Start the BlackBerry Java Plug-in for Eclipse.
    Note: When the Eclipse Workspace Launcher prompts you to select a workspace, do not choose one that you are using with Unwired WorkSpace. If necessary, select or create a new workspace.
  2. Depending on the BlackBerry Plugin version:
    • Select File > New > BlackBerry Project, or
    • Select File > New > BlackBerry > BlackBerry Project.
  3. In the New BlackBerry Project wizard, use these values and click Next.
    • Project name – enter SUP101Sample.
    • Use a project specific JRE – select the BlackBerry OS version that was automatically installed with the plugin.

    Create a BlackBerry Project page
  4. In the Java Settings page, modify the build path to point to the correct location for the sup_client2.jar and UltraLiteJ12.jar files for the project:
    1. Click the Libraries tab.
    2. Click Add External JARs.
    3. Browse to <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK213\ObjectAPI\BB.
    4. Select the two JAR files, then click Open.
    5. Click Finish.