J2ME中The MIDlet suite was not found.问题--关于第一个HELLO程序

来源:互联网 发布:乐高宠物商店 知乎 编辑:程序博客网 时间:2024/05/10 12:43

    很多人都爆除了没有文件,还有就是The MIDlet suite was not found的错误,其实这里应该是很简单的问题。当然,我也是菜鸟,第一次做。


    这里大家的说法很多,当然都对,网上搜索也有一大堆我也不过是来随便说说而已,呵呵,千万不要见笑:

 

直接进入正确的环节--就是运行的时候,

 

<!-- /* Font Definitions */ @font-face{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;mso-font-charset:2;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:0 268435456 0 0 -2147483648 0;}@font-face{font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;mso-font-alt:SimSun;mso-font-charset:134;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:3 135135232 16 0 262145 0;}@font-face{font-family:"/@宋体";panose-1:2 1 6 0 3 1 1 1 1 1;mso-font-charset:134;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal{mso-style-parent:"";margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;mso-pagination:none;font-size:10.5pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:宋体;mso-font-kerning:1.0pt;} /* Page Definitions */ @page{mso-page-border-surround-header:no;mso-page-border-surround-footer:no;}@page Section1{size:612.0pt 792.0pt;margin:72.0pt 90.0pt 72.0pt 90.0pt;mso-header-margin:36.0pt;mso-footer-margin:36.0pt;mso-paper-source:0;}div.Section1{page:Section1;} /* List Definitions */ @list l0{mso-list-id:1654017541;mso-list-type:hybrid;mso-list-template-ids:-2120340816 21917624 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1{mso-level-text:"/(%1)";mso-level-tab-stop:36.0pt;mso-level-number-position:left;text-indent:-36.0pt;}ol{margin-bottom:0cm;}ul{margin-bottom:0cm;}-->

运行—>点击run下拉列表à选择左面的Wireless ToolKit Emulate下面的要运行的工程,比如这里的hello—>主要是右面要选中Midlet按钮,然后选择你的Hello程序就可以了,哈哈,这里你输入一个H他就会出现的,很简单吧,然后就有了,不会出现网上说的那些问题。

 

当然不是绝对的,比如有中文--注释是中文都不行。不管怎么样,哪里都不要出现中文就第一个HELLO就出现了,以后的事,以后再说。

 

弄了个图片,不过不知道传不传得上来,没关系,上面已经说得比较清楚了。