Create a workspace for your BlackBerry Messenger connected application using the BlackBerry Java Development Environment
Before you begin: In the folder where you extracted the BlackBerry Messenger SDK, copy net_rim_bb_qm_platform.jar from the BBM SDK folder to the lib folder of the BlackBerry Java Development Environment (the default location of the lib folder is C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0\lib).
- In the BlackBerry JDE, click File > New Workspace.
- In the Workspace Name field, type a name for the workspace and click OK.
- Right-click the workspace and click Properties.
- In the Workspace Properties dialog box, in the General tab, beside the Imported Jar Files list, click Add.
- In the Add file dialog box, navigate to C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0\lib and double click the net_rim_bb_qm_platform.jar file. The file appears in the Imported Jar Files list in your workspace properties. You can now import the BlackBerry Messenger classes and compile your application.
- Right-click the workspace and perform one of the following actions:
- When you are ready to build your project, click the BlackBerry Smartphone Simulator profile drop-down list located in the top-right corner of the BlackBerry JDE. By default, the selected profile is Default Simulator.
- In the drop-down list, click 9800-220.127.116.113.
- On the Build menu, click Build. The .cod files for your application are created and placed in the simulators directory of the BlackBerry JDE.
To test your application, see Running your BlackBerry Messenger connected application.
Previous topic: Create a project for your BlackBerry Messenger connected application using the BlackBerry Java Plug-in for Eclipse