×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    4

    Angry "Invalid Jar File", when everything seems fine

    Hello!

    I'm trying to create a simple helloworld midp application with eclipse pulstar. When I'm trying to install I get an "Invalid Jar File" error.

    Jad file:
    MIDlet-Jar-Size: 1384
    MIDlet-Jar-URL: CsaGec.jar
    MIDlet-Name: CsaGEc MIDlet Suite
    MIDlet-Vendor: MIDlet Suite Vendor
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

    Manifest file:
    Manifest-Version: 1.0
    MIDlet-Vendor: MIDlet Suite Vendor
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: CsaGEc MIDlet Suite
    MicroEdition-Profile: MIDP-2.0

    My device is N82, so it does support CLDC-1.1 and MIDP-2.0. So what's the problem???

  2. #2
    Super Contributor
    Join Date
    Jan 2007
    Location
    Bhubaneswar, India
    Posts
    1,189

    Re: "Invalid Jar File", when everything seems fine

    -------------------------------------
    Thanks & Regards
    Ram
    Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    4

    Re: "Invalid Jar File", when everything seems fine

    Thank you for the quick help!
    The reason was the lack of "MIDlet-1" field in the maifest file. But why does not eclipse create this field?

  4. #4
    Super Contributor
    Join Date
    Jan 2007
    Location
    Bhubaneswar, India
    Posts
    1,189

    Re: "Invalid Jar File", when everything seems fine

    Quote Originally Posted by klapancius View Post
    Thank you for the quick help!
    The reason was the lack of "MIDlet-1" field in the maifest file. But why does not eclipse create this field?
    This link give you more idea
    -------------------------------------
    Thanks & Regards
    Ram
    Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: "Invalid Jar File", when everything seems fine

    Quote Originally Posted by klapancius View Post
    The reason was the lack of "MIDlet-1" field in the maifest file. But why does not eclipse create this field?
    It will if you use eclipseME (mobile Java add-in for eclipse) and configure your MIDlet properties in the Java Application Descriptor Editor.

    Graham.

Similar Threads

  1. "Invalid Jar File" err msg when installing JAR to my N73
    By harperjiang in forum Mobile Java General
    Replies: 1
    Last Post: 2008-02-12, 16:26
  2. 6230: "invalid file" while downloading application.
    By Wontar in forum Mobile Java General
    Replies: 1
    Last Post: 2006-12-13, 18:03
  3. "invalid file" error when installing midlet on 6600
    By jpickeri in forum Mobile Java General
    Replies: 5
    Last Post: 2006-05-02, 00:13
  4. Nokia 6230 - "Invalid file"
    By polartigers in forum General Development Questions
    Replies: 0
    Last Post: 2005-08-17, 21:27
  5. Replies: 0
    Last Post: 2005-07-11, 18:50

Posting Permissions

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