Blackberry MDS simulator - Can't connect to th

2019-01-22 21:52发布

I'm trying to do some testing of a website through the Blackberry simulator, while the simulator works fine, I can't get to any sites in the Blackberry Browser.

Here is the specific setup I'm using.

  • I'm Windows 7 (64-bit) Home Edition
  • I have the latest (at the time) MDS installation - BlackBerry Email and MDS Services Simulators 4.1.4
  • Finally, I have the latest (at the time) Blackberry Simulator - BlackBerry Smartphone Simulators 5.0.0 (5.0.0.442) - 9700

I first start the MDS service, it briefly pops up the command-prompt and then closes it. I'm assuming that when it does that, it started the MDS service. Then I open the Blackberry simulator (9700), which opens up fine and loads the Blackberry OS. Then with the Blackberry OS all loaded up, I navigate to the browser and for example type www.google.com and then at the bottom it just says "sending request" and loads for about a minute. Then times out and says it can't find a connection.

Anyone have any thoughts on what I'm missing? Or, does anyone know of an online simulator for the Blackberry, because thus far this has been a huge pain for testing sites on a Blackberry.

Thank you! Ben

14条回答
聊天终结者
2楼-- · 2019-01-22 22:03

Many hours of peoples life must be wasted trying to figure this one out. I just spent a few so I hope my solution works for you all.

I did the set Environmental Variable thing.

I use 4.1.4 and JDK 1.6 something

WIndows 64bit

Uninstall MDS program from C:\Program Files (86x)

Install elsewhere. I installed on my desktop as administrator.

I don't know if the Environmental Variable thing helped but MDS worked right after I installed administratively on the desktop.

查看更多
萌系小妹纸
3楼-- · 2019-01-22 22:04

I was trying this on Windows 64-bit and had the same problem - the service would launch and then immediately exit. Turns out the error was caused by being unable to create a /logs directory under C:\Program Files (x86)\Research In Motion\BlackBerry Email and MDS Services Simulators 4.1.2.

My solution was to change the permission on that directory to be "Full Control", then the service can start. If you then restart the Device Simulator you can finally browse the web.

查看更多
Fickle 薄情
4楼-- · 2019-01-22 22:05

I started cmd.exe as "Run as Administrator" and then entered cd "C:\Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators 4.1.4\MDS"

then

run.bat

and now i have the MDS Simlator 4.1.4 working.

It needs the administrator rights to run

查看更多
再贱就再见
5楼-- · 2019-01-22 22:06

The batch file starting the MDS simulator requires the environment variable JAVA_HOME to be set. If this variable has not been set or does not point to a valid Java installation the MDS Simulator just quits.

It should point to the JDK or JRE installation path - e.g. C:\Program Files\Java\jre6

You can test this on command line by entering set JAVA_HOME=C:\Program Files\Java\jre6 before executing the MDS run.bat

查看更多
男人必须洒脱
6楼-- · 2019-01-22 22:07

I followed all of the above advisals, but MDS didn't still start!

What was wrong? I had installed J2EE (java_ee_sdk-5_01-windows.exe) instead of J2SE (jdk-6u26-windows-i586.exe), with the latter MDS worked properly

This installation lost me one awful day and a terrible night.

查看更多
手持菜刀,她持情操
7楼-- · 2019-01-22 22:09

I have it working, what I did....
(Windows 7-64bit)

a) confirmed my Java environment vars:
JAVA_HOME=....\Java\jdk1.6.0_24
JDK_DIR=...same...
JDK_ROOT=...same...
JRE_HOME=...\Java\jre6
(different things need different vars...)

b) installed the "BlackBerry_JDE_6.0.0.0.exe" to non-magic location (E:\Emulators)

c) launched the start-menu item "MDS-CS"
The command window stays open, it is logging the comm events.

d) launched the start-menu item "Device Simulator"

The "BlackBerry 9800 Simulator" launched. I then started the browser and connected to "www.google.com"

Everything was launched as a regular user (no admin privs).

查看更多
登录 后发表回答