有关 midp -transient ....的问题
小的用以下命令从服务器下载jar文件在模拟器上运行,出现下面的问题:
D:\>midp -transient http://127.0.0.1/HelloMIDlet.jad
** Error installing suite (38): JAR did not have the correct media type, it had text/plain
经过检查,文件已经从服务器正确读出。
现在就不只问题出在哪里?请各位大虾指点!
以下是 MANIFEST.MF 文件
Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Description: Sample Hello World MIDlet
MIDlet-Version: 1.0.0
Created-By: 1.3.1_07 (Sun Microsystems Inc.)
MIDlet-Vendor: Saturn, Inc.
MIDlet-Jar-URL: http://127.0.0.1/HelloMIDlet.jar
MIDlet-1: HelloWorld,,HelloMIDlet
MicroEdition-Profile: MIDP-1.0
MIDlet-Jar-Size: 1237
MIDlet-Name: HelloWorld
MIDlet-Info-URL: http://java.sun.com/j2me/