×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    developer suite: "create application package" (create/recreate) woes

    hello.

    when creating an application packge for the first time using the nokia developer's suite sunone plugin, everything works fine. however, upon the 2nd go-around, if i select "recreate based on existing package" and locate the .jar file created previously, i'm getting the following error:

    "Error reading JAR file: MyMIDlet.jar
    java.util.zip.ZipException: error in opening zip file"

    if i try "Create JAR and JAD for the first time" option, use the same .jar and .jad names as before, and click the "generate" button, i get:

    "Unable to create Application Package. Preverifying has possibly failed. If you compiled the classes using J2SDK 1.4.0 or later, please check that you used compiler option "-target 1.1", which generates class files for all Java SDKs. Also note that the default emulator used for preverifying must support the APIs which are used by classes in the class path."

    if i delete the .jar and .jad files before trying either of the above options, it works fine. any ideas why the errors are occuring when regenerating existing application packages?

    thank you.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Tampere / Finland
    Posts
    201

    RE: developer suite: "create application package" (create/recreate) woes

    Hello,

    Could you explain more specifically which SDK you chose when you created application package and what's the built version of your Nokia Developer's Suite, you can check it from Control Panel -> Add/Remove Programs -> Nokia Developer's Suite 1.1 for J2ME -> support information.

    Regards,
    Kui

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    14
    thanks for your reply kui.

    i am using nokia developer's suite 1.1 (build 1.1.17.48) with sunone. since the integration of nds1.1 and sunone appeared buggy, i'm now just using j2me wtk2.0beta2's ktoolbar (with nokia 7210 sdk) and netbeans3.4.1. this approach is suiting me much better and haven't run into the problems that i was having with sunone+nds1.1.

    thanks again for your reply and help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×