Second
Approach On a second pass I have placed the source code in: C:\Documents and Settings\Peter\j2mewtk\2.5.2\apps\XPMidlet\sr after creating a project with that name in the WTK toolkit. I went to that directory and compiled the source code there from the command line. |
Second
Approach The following preverification occured successfully from inside the directory we had placed the source file in. C:\Documents and Settings\Peter\j2mewtk\2.5.2\apps\XPMidlet\src>preverify -class path C:\WTK2.5.2\lib\cldcapi10.jar;C:\WTK2.5.2\lib\midpapi20.jar XPMidlet |
Second
Approach The following was entered into a simple text editor and saved as "manifest" with All Files as type. MIDlet-1: XPMidlet MIDlet-Name: XPMidlet MIDlet-Vendor: PK MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-2.0 |
Second
Approach Once the manifest was created the following jar command was run inside the src directory. C:\Documents and Settings\Peter\j2mewtk\2.5.2\apps\XPMidlet\src>jar cvfm XPMidle t.jar manifest -C .\output . added manifest adding: XPMidlet.class(in = 883) (out= 470)(deflated 46%) |
Second
Approach Her is the JAD file for XPMidlet.jar file. MIDlet-1: XPMidlet, XPMidlet.png, XPMidlet MIDlet-Jar-Size: 100 MIDlet-Jar-URL: XPMidlet.jar MIDlet-Name: XPMidlet MIDlet-Vendor: Unknown MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.1 MicroEdition-Profile: MIDP-2.1 |