Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor Shaikuny's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    119
    Hi.
    I am using exclipse 3.1 with Sun WTK 2.2.
    after creating my own profile which uses only the following:
    * Cldc 1.0
    * Midp 2.0
    * MMapi

    I have created a package (Jar + Jad) however my Nokia 6680 didn't accept it and gave me "invalid file" error message.

    Nokia 6600 does the same thing.

    I have tried to make an "Hello world" using the WTK 2.2 profile of MIDP 1.0 only (cldc 1.0) and I got the same message !

    I Also tried to build my application with the KToolbar of the wtk22 and I got an error message saying that I need to use JDK version 1.4 or aobve.
    I am using JDK version 1.5

    Any ideas ?
    Did someone here managed to make a working JAR file with the eclipse 3.1 and WTK 2.2 ?

  2. #2
    Registered User rconyard's Avatar
    Join Date
    Jun 2005
    Posts
    8
    How are you putting the application onto the phone?

  3. #3
    Regular Contributor Shaikuny's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    119
    I am sending the jar via bluetooth after creating it using the option "Create package" which is available from the J2ME menu.

    I have also dscovered that the problem is casued by the fact that the following line is missing from the METAINFO.

    line: "MIDlet-1: midlet_class_name, , package.midle_class_name"
    (the line should be included in the jad without the "" ).

    After entering this line manualy to the JAR files metainfo or entering manualy to the JAD file so the "creating package" option will generate a jar file that contains this line - the JAR worked on the target device.

    any idea how to make the WTK22 include this line autoamticly ?

    Shai . K

  4. #4
    Regular Contributor Leicester22's Avatar
    Join Date
    Jan 2004
    Posts
    82
    "Settings" --> "MIDlets" - Tab --> "Add"

Similar Threads

  1. Can't include png file into jar file when create MIDlet suite
    By hi_sailom in forum Mobile Java Tools & SDKs
    Replies: 7
    Last Post: 2008-08-01, 04:07
  2. help!.dm invalid file!
    By viomart in forum Digital Rights Management & Content Downloading
    Replies: 6
    Last Post: 2006-01-30, 05:32
  3. Jar file not running on Nokia 3230
    By jpgeek in forum Mobile Java General
    Replies: 1
    Last Post: 2005-09-26, 11:38
  4. OTA: invalid file
    By ATsessarsky in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2005-09-07, 09:43
  5. reading text file from a jar file -> file not found!
    By iecomdev in forum Mobile Java General
    Replies: 1
    Last Post: 2002-09-30, 12:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved