Blackberry MDS cannot be started in Windows

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.