Run your application from the BlackBerry Java Development Environment

  1. In the BlackBerry JDE, Click Edit > Preferences.
  2. Create a new Simulator Profile and type in a name.
  3. On the Simulator tab, click General.
  4. In the Device dropdown list, select a simulator (for example: SimPackage-6.0.0.313_9800-9800).
  5. Click the Advanced tab:
    1. Select the Use Customized command options check box.
    2. In the Customized command line box, type the arguments from the sim1.bat file. For example: "C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0\6.0.0.313 (9800)\fledge.exe" /handheld=9800 /app-param=JvmAlxConfigFile:9800.xml /pin=0x2100000A /data-port=0x4d44 /data-port=0x4d4e /session=9800 /app="C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0\6.0.0.313 (9800)\Jvm.dll" /app=Jvm.dll /handheld=9800 /session=Sim1 /app-param=JvmAlxConfigFile:9800.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /app-param=regVersion=3 /app-param=regDestIP=127.0.0.1 /app-param=regDestPort=19781 /app-param=regSrcPort=19780 /app-param=DisableSyncServiceRecord /title="BlackBerry 9800-1 Simulator"
    3. In the Customized working directory box, type path of the directory where you installed the simulator package.
    4. In the Customized MDS directory box, type the path of the directory where you installed the MDS package.
  6. Click OK.
  7. Click Run.
Next topic: Provide feedback

Was this information helpful? Send us your comments.