Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2007

    .JAD file don't notify install

    Dear all,

    I've recently built my j2me application using netbeans, it produced .jar and .jad files. And i upload both of them to my website. When i tried to download the application by clicking on .jad file using my mobile phone browser.. it didn't notify install as its supposed to.. it only showed me the content of .jad itself without installing anything to my mobile phone.

    Here is my .jad file:

    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
    MIDlet-1: game,/vi/img/game.png,game
    MIDlet-Jar-URL: http://gameurlhere
    MIDlet-Vendor: game
    MIDlet-Version: 1.0
    MIDlet-Name: game
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Jar-Size: 183220
    Nokia-MIDlet-Category: Game

    i've browser through the internet (the almighty google) and didn't find anything that could solve this problem.. so.. any help is appreciated

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: .JAD file don't notify install

    Have you defined a correct MIME type for JAD files

    Should be


  3. #3
    Nokia Developer Expert
    Join Date
    May 2007
    Mexico D.F

    Re: .JAD file don't notify install

    Hello sandymc

    Just to add a little more information to what hartti says

    If you access the Web server containing your JAR and JAD files with your handset, you may find that the JAD file is delivered to the phone as only a text file with its contents displayed as normal text. This indicates that your Web server needs to be configured.

    You need to associate specific MIME types to the ".jar" and ".jad" extensions so that the Web server can tell the client which kind of content to expect. In apache, you add the following two lines to the httpd.conf configuration file:

    AddType text/vnd.sun.j2me.app-descriptor .jad
    AddType application/java-archive .jar

    You then restart the server and point your handset to the URL where your .jad file resides.
    Don't use absolute paths in the parameter: MIDlet-Jar-URL only the name of the jar file if this resides in the same folder.

  4. #4
    Registered User
    Join Date
    Sep 2007

    Re: .JAD file don't notify install

    It works! Thanks alot to Hartti and rdrincon..

    i found the "MIME types" on CPanel of my websites..

    Thanks again

Similar Threads

  1. Replies: 2
    Last Post: 2009-07-14, 01:16
  2. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  3. Unable to install sis file v9.1
    By gheese in forum Symbian
    Replies: 2
    Last Post: 2006-08-08, 12:27
  4. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  5. MIDlet install on 6230i using .jad file
    By Pug206Aid in forum Mobile Java General
    Replies: 0
    Last Post: 2005-08-10, 14:36

Posting Permissions

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