Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java application descriptor

Status
Not open for further replies.

harmmeijer

Programmer
Mar 1, 2001
869
CN
I want to use the prc converter tool to compale an app for the palm vx.
First I copied and pasted the code from:


compiled it with javac of the j2sdk 1.4.0.03 for windows.

Generated a jar file using the jar cvf EnumDemo.jar class1.class class2.class

Generated a jad file (text file) with the following content:

MIDlet-Version: 1.0
MIDlet-Vendor: Sun Microsystems, Inc.
MIDlet-Jar-URL: EnumDemo.jar
MIDlet-Description: Sample suite from MIDP workspace.
MIDlet-Jar-Size: 6744
MicroEdition-Profile: MIDP-1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: EnumDemo

Then started the tool that (I whish) creates the prc file but when I open the jad file I get the error:

File:C:\j2sdk1.4.0_03\bin\miplets\EnumDemo.jad Result:Failed: The .JAR file cannot be converted as critical information is missing or formatted incorrectly. Try downloading the file again or contact the application provider. ErrCode=1000

I don't have an IDE that generates the jad file and according to all the documentation I don't need it but it seems impossible to generate a working jad file.

How can I solve this problem??



Then Microsoft said, "Let there be .net"; and there was .net.


Greetings, Harm Meijer
 
Used sun one studio 4 me to make my jad. Works OK now.



Then Microsoft said, "Let there be .net"; and there was .net.


Greetings, Harm Meijer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top