黑莓MDS模拟器安装问题

时间:2011-09-02 03:57:30

标签: blackberry simulator bb-messenger

我正在开发一款需要通过BBM发送内容的应用,所以我想尝试一下。

问题是我无法让BBM模拟器运行。

我按照Blackberry Messenger页面上的说明操作,但当我执行run.bat时,它会说明以下内容:

<2011-09-01 23:26:08.530 PYT>:[0]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, Admin. Task- H
TTP Proxy Mappings>
<2011-09-01 23:26:08.538 PYT>:[1]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, Admin. Task- r
efresh media management>
<2011-09-01 23:26:08.577 PYT>:[2]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, The push servi
ce is ready to receive requests>
<2011-09-01 23:26:08.635 PYT>:[3]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = J2SE 1
.7.0 Charsets supported:Big5,Big5-HKSCS,EUC-JP,EUC-KR,GB18030,GB2312,GBK,IBM-Tha
i,IBM00858,IBM01140,IBM01141,IBM01142,IBM01143,IBM01144,IBM01145,IBM01146,IBM011
47,IBM01148,IBM01149,IBM037,IBM1026,IBM1047,IBM273,IBM277,IBM278,IBM280,IBM284,I
BM285,IBM297,IBM420,IBM424,IBM437,IBM500,IBM775,IBM850,IBM852,IBM855,IBM857,IBM8
60,IBM861,IBM862,IBM863,IBM864,IBM865,IBM866,IBM868,IBM869,IBM870,IBM871,IBM918,
ISO-2022-CN,ISO-2022-JP,ISO-2022-JP-2,ISO-2022-KR,ISO-8859-1,ISO-8859-13,ISO-885
9-15,ISO-8859-2,ISO-8859-3,ISO-8859-4,ISO-8859-5,ISO-8859-6,ISO-8859-7,ISO-8859-
8,ISO-8859-9,JIS_X0201,JIS_X0212-1990,KOI8-R,KOI8-U,Shift_JIS,TIS-620,US-ASCII,U
TF-16,UTF-16BE,UTF-16LE,UTF-32,UTF-32BE,UTF-32LE,UTF-8,windows-1250,windows-1251
,windows-1252,windows-1253,windows-1254,windows-1255,windows-1256,windows-1257,w
indows-1258,windows-31j,x-Big5-HKSCS-2001,x-Big5-Solaris,x-euc-jp-linux,x-EUC-TW
,x-eucJP-Open,x-IBM1006,x-IBM1025,x-IBM1046,x-IBM1097,x-IBM1098,x-IBM1112,x-IBM1
122,x-IBM1123,x-IBM1124,x-IBM1364,x-IBM1381,x-IBM1383,x-IBM33722,x-IBM737,x-IBM8
33,x-IBM834,x-IBM856,x-IBM874,x-IBM875,x-IBM921,x-IBM922,x-IBM930,x-IBM933,x-IBM
935,x-IBM937,x-IBM939,x-IBM942,x-IBM942C,x-IBM943,x-IBM943C,x-IBM948,x-IBM949,x-
IBM949C,x-IBM950,x-IBM964,x-IBM970,x-ISCII91,x-ISO-2022-CN-CNS,x-ISO-2022-CN-GB,
x-iso-8859-11,x-JIS0208,x-JISAutoDetect,x-Johab,x-MacArabic,x-MacCentralEurope,x
-MacCroatian,x-MacCyrillic,x-MacDingbat,x-MacGreek,x-MacHebrew,x-MacIceland,x-Ma
cRoman,x-MacRomania,x-MacSymbol,x-MacThai,x-MacTurkish,x-MacUkraine,x-MS932_0213
,x-MS950-HKSCS,x-MS950-HKSCS-XP,x-mswin-936,x-PCK,x-SJIS_0213,x-UTF-16LE-BOM,X-U
TF-32BE-BOM,X-UTF-32LE-BOM,x-windows-50220,x-windows-50221,x-windows-874,x-windo
ws-949,x-windows-950,x-windows-iso2022jp>
<2011-09-01 23:26:08.637 PYT>:[4]:<BBM_MDS>:<INFO >:<LAYER = SCM, DefaultJobPool
 Pool size = 10>
<2011-09-01 23:26:08.638 PYT>:[5]:<BBM_MDS>:<INFO >:<LAYER = SCM, DefaultJobPool
 Queue length = 20>
<2011-09-01 23:26:08.639 PYT>:[6]:<BBM_MDS>:<INFO >:<LAYER = SCM, maxMem: 518979
584 maxPoolSize: 10>
<2011-09-01 23:26:08.653 PYT>:[7]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Connec
ted, TOPSERVICE = KEYNEGO, LOWERSERVICE = GME>
<2011-09-01 23:26:08.654 PYT>:[8]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Connec
ted, TOPSERVICE = SERVICE_BOOK, LOWERSERVICE = GME>
<2011-09-01 23:26:08.655 PYT>:[9]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Connec
ted, TOPSERVICE = SRPH, LOWERSERVICE = GME>
<2011-09-01 23:26:08.656 PYT>:[10]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = CMIME, LOWERSERVICE = GME>
<2011-09-01 23:26:08.657 PYT>:[11]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = RIM_IM, LOWERSERVICE = GME>
<2011-09-01 23:26:08.658 PYT>:[12]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = IPPP, LOWERSERVICE = GME>
<2011-09-01 23:26:08.659 PYT>:[13]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = GME, LOWERSERVICE = MDP>
<2011-09-01 23:26:08.660 PYT>:[14]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = REG, LOWERSERVICE = MDP>
<2011-09-01 23:26:08.661 PYT>:[15]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = MDP, LOWERSERVICE = GPAK>
<2011-09-01 23:26:08.662 PYT>:[16]:<BBM_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Conne
cted, TOPSERVICE = GPAK, LOWERSERVICE = UDP>
<2011-09-01 23:26:08.674 PYT>:[17]:<BBM_MDS>:<EVENT>:<LAYER = SCM, BBM MDS_START
MDS; >
<2011-09-01 23:26:08.676 PYT>:[18]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, LAYER = SRPH
, EVENT = Initialization>
<2011-09-01 23:26:08.699 PYT>:[19]:<BBM_MDS>:<INFO >:<maxMem: 518979584 maxQueue
Size: 250>
<2011-09-01 23:26:08.701 PYT>:[20]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, LAYER = SRPH
, EVENT = Started>
<2011-09-01 23:26:08.702 PYT>:[21]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, EVENT = Star
ted, THREAD = SRPHprotocolMainThread>
<2011-09-01 23:26:08.703 PYT>:[22]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, EVENT = Star
ted, THREAD = SRPHListenOnDatagramStatus>
<2011-09-01 23:26:08.705 PYT>:[23]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, EVENT = Star
ted, THREAD = SRPHListenForClientsPackets>
<2011-09-01 23:26:08.705 PYT>:[24]:<BBM_MDS>:<DEBUG>:<LAYER = SRPH, EVENT = Star
ted, THREAD = SRPHQueuesManager>
<2011-09-01 23:26:08.708 PYT>:[25]:<BBM_MDS>:<DEBUG>:<LAYER = SB, EVENT = Starte
d, THREAD = ListenOnDatagramStatus>
<2011-09-01 23:26:08.708 PYT>:[26]:<BBM_MDS>:<DEBUG>:<LAYER = SB, EVENT = Starte
d, THREAD = ListenForClientsStatus>
<2011-09-01 23:26:08.709 PYT>:[27]:<BBM_MDS>:<DEBUG>:<LAYER = BBM, EVENT = Initi
alization>
<2011-09-01 23:26:08.737 PYT>:[28]:<BBM_MDS>:<INFO >:<LAYER = SCM, BBMSessionJob
Pool Pool size = 10>
<2011-09-01 23:26:08.737 PYT>:[29]:<BBM_MDS>:<INFO >:<LAYER = SCM, BBMSessionJob
Pool Queue length = 20>
<2011-09-01 23:26:08.739 PYT>:[30]:<BBM_MDS>:<INFO >:<LAYER = SCM, BBMSessionJob
Pool Queue length = 1280>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion, net.rim.application.ipproxyservice.b.a: Initialize failed>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   at net.rim.application.ipproxyservice.IPProxyServiceApplication.start(Un
known Source)>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   at net.rim.application.ipproxyservice.IPProxyServiceApplication.main(Unk
nown Source)>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion, Caused by: java.lang.Exception: java.lang.Exception: java.lang.SecurityExc
eption>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   at net.rim.protocol.bbm.BBMProtocol.initialize(Unknown Source)>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   at net.rim.protocol.bbm.BBMProtocol.start(Unknown Source)>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   at net.rim.service.c.start(Unknown Source)>
<2011-09-01 23:26:08.789 PYT>:[31]:<BBM_MDS>:<ERROR>:<LAYER = SCM, EVENT = Excep
tion,   ... 2 more>
  • 安装了Java SE Development Kit 7:C:\ jdk1.7.0 \
  • 安装了Java JRE:C:\ jdk1.7.0 \ jre7 \

(注意还有另一个jre文件夹:C:\ jdk1.7.0 \ jre)

JAVA_HOME变量指向:C:\ jdk1.7.0 \
添加了“C:\ jdk1.7.0 \ bin \;”到路径变量的前面。
将文件local_policy.jar和US_export_policy.jar复制到两个文件中

  • 1)C:\ jdk1.7.0 \ jre \ lib \ security;和
  • 2)C:\ jdk1.7.0 \ jre7 \ lib \ security
  • (我首先将它们复制到C:\ jdk1.7.0 \ jre7 \ lib \ security但是它说“你安装了无限强度管辖权政策文件吗?”)

    我下载了SDK,将内容解压缩到“C:\ BBM \”,进入MDS Simulator并在那里提取内容。

    运行Windows 7 64位。

    我在这里缺少什么?

    2 个答案:

    答案 0 :(得分:3)

    BBM SDK可以在Windows x64上使用Java 7 JDK x86。

    但是如果你安装了Java 7,那么你必须从http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html安装“Java Cryptography Extension(JCE)Unlimited Strength Jurisdiction Policy Files 7”,而不是按照说明安装JCE文件的第6版。

    提取此zip的内容,然后将提取的策略文件复制到C:\ Program Files(x86)\ Java \ jdk1.7.0_01 \ jre \ lib \ security

    希望这有帮助。

    答案 1 :(得分:0)

    • BBM必须使用java 32位而不是64.我在安装文档中提到了
    • 对java 7不确定。