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 DB-00568 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.
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.
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:
@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.