BlackBerry® Mobile Data System (BlackBerry MDS) Simulator
BlackBerry® Java® Development Environment (BlackBerry JDE)
The BlackBerry MDS Simulator appears to have started successfully; however, the command prompt window disappears after a few seconds.
The following are possible causes:
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.
The path environment variable is not set correctly.
The Java_Home environment variable is pointing to the incorrect Java version.
There is interference with existing environment variables.
Complete the following:
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.
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:
Note: If there are multiple versions of Java installed by other applications, move the Java SDK path to the beginning of the list.
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.
Edit the \INSTALL_DIRECTORY\MDS\setBMDSEnv.bat file and remove the reference to %cd%\ from the following line:
The line should now read as follows:
Save this change and restart the BlackBerry MDS Simulator.