Address: http://www.blogjava.net/lincode/archive/2010/05/27/289889.html
Blackberry MDS is the server on which the BlackBerry simulator accesses network resources.
The installation package of blackberry Java Development Environnement jde already contains MDS.
However, sometimes MDS cannot be started. Click Start-> Program-> Research In Motion-> BlackBerry jde 4.5-> MDS-CS, the command line window will flash and MDS cannot start.
Correction Method:
1. Modify run. bat.
On my machine, the folder where this file is located is
C:/lguo/program files/Research In Motion/BlackBerry jde 4.5.0/MDS
-Classpath! Bmds_classpath !;! Bmds_classpath2!
-Classpath % bmds_classpath %; % bmds_classpath2 %
We can get a modified file:
@ Echo off
Call setbmdsenv
If ["% java_home %"] = [""] goto nojavahomeset
Start CMD/V: On/C "% java_home %/bin/Java"-classpath % bmds_classpath %; % bmds_classpath2 %-xmx512m-djava. endorsed. dirs = classpath/endorsed-dkeystore. password = PASSWORD net. rim. application. ipproxyservice. ipproxyserviceapplication-log. console. dump
Goto end
: Nojavahomeset
Start CMD/V: On/C Java-classpath % bmds_classpath %; % bmds_classpath2 %-xmx512m-djava. endorsed. dirs = classpath/endorsed-dkeystore. password = PASSWORD net. rim. application. ipproxyservice. ipproxyserviceapplication-log. console. dump
Goto end
: End
2 install JRE 6
MDS needs to run on JVM of Java 6 or above.
If you have installed multiple versions of JVM, make sure that the system parameter in java_home points to the JRE of Java 6.
If java_home is not specified, use Java-version in the command line to verify the Java version of the system.
Sometimes, due to development needs, java_home needs to point to the earlier Java SDK directory. You can modify run. bat at this time.
Make the JVM that starts to run MDS a Java 6 or later version.