Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

BlackBerry MDS Simulator does not launch

by Retired ‎02-17-2010 04:03 PM - edited ‎02-18-2010 09:46 AM (10,050 Views)

Summary


This article applies to the following:

  • BlackBerry® Mobile Data System (BlackBerry MDS) Simulator
  • BlackBerry® Java® Development Environment (BlackBerry JDE)


Problem


The BlackBerry MDS Simulator appears to have started successfully; however, the command prompt window disappears after a few seconds.


Cause


The following are possible causes:

  1. An incorrect version of the Java® software development kit (SDK) or Java Development Kit (JDK) is installed on the computer, or the SDK or JDK is missing.
  2. The path environment variable is not set correctly.
  3. The Java_Home environment variable is pointing to the incorrect Java version.
  4. There is interference with existing environment variables.

Resolution


Complete the following:

  1. Verify that a supported version of the SDK or JDK is installed as follows:
    • Review the Add/Remove Programs to determine the current version installed.
    • Search Windows® Explorer for the Java installation directory (e.g., C:\j2sdk1.4.1_07).
    If there is no Java SDK or JDK installed, install one.

    If an incorrect version of Java SDK or JDK is installed, remove it and install the version that is supported by BlackBerry JDE. See here for a list of supported versions of Java for the the BlackBerry JDE.When the installation is complete, make sure that the Java directory is created and that the environment variable has been set correctly.

    When the installation is complete, make sure that the Java directory is created and that the environment variable has been set correctly.

  2. Check the path environment variable:
    • Right-click My Computer and then select Properties. On the Advanced tab, click Environment Variables.
    • Verify that the C:\j2sdk[version]\bin directory appears first in the path environment variable, as in the following example:

    C:\j2sdk1.4.1_07\bin;C:\Perl\bin\;C:\Oracle\Ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%


    Note:
    If there are multiple versions of Java installed by other applications, move the Java SDK path to the beginning of the list.

  3. Check the “JAVA_HOME” environment variable.
    • Right-click My Computer and select Properties. On the Advanced tab, click Environment Variables.
    • Verify that the Java_Home variable is pointing to the correct version of Java. The BlackBerry JDE software does not require the Java_Home variable to be set. It can be removed as long as there are no conflicts with other applications running on your local computer.
  4. Edit the \INSTALL_DIRECTORY\MDS\setBMDSEnv.bat file and remove the reference to %cd%\ from the following line:


    @set BMDS_CLASSPATH=%BMDS_CLASSPATH%;"%cd%\%1"


    The line should now read as follows:


    @set BMDS_CLASSPATH=%BMDS_CLASSPATH%;"%1"


    Save this change and restart the BlackBerry MDS Simulator.

Contributors
Users Online
Currently online: 7 members 931 guests
Please welcome our newest community members: