Generate JAD from JAR file
Article Metadata
This article explains how to create a JAD file using information in a JAR file. This is useful because some phones will only allow you to download larger JAR files using a JAD.
To create a jad file from jar file:
- Extract the jar file.
If you don't know about a program to extract it, you can always rename it to zip and then extract it. - Locate the META-INF/MANIFEST.MF file and copy it to where the jar file is located.
- Rename the copied MANIFEST.MF to the same name as the jar file but with .jad extension.
- Open the copied file in text editor and edit the file as follows:
- Delete the lines, if they exist, that begin with:
- MIDlet-Jar-URL:
- MIDlet-Jar-Size:
- Add the following lines:
- MIDlet-Jar-URL: followed by a space character and the full jar filename.
- MIDlet-Jar-Size: followed by a space character and size (in bytes) of the jar file.
- Make sure the following lines exist, if they're not add each of them followed by space and its corresponding value:
- MIDlet-Name:
- MIDlet-Version:
- MIDlet-Vendor:
- Fix the following lines:
- It can cause problems if you have a non numeric text in the MIDlet-Version: line (. (dot) is permitted), if it's so you can just remove the non-numeric characters from the version value.
- Sometimes line's value will wrap to the next line. You should fix this, so that the whole value of that line will be on the same line. Happens a lot on MIDlet-1: (or 2,3.. instead of 1) lines.
- To place the Java application into the Games folder by default you can add or edit if it exists the following line:
Nokia-MIDlet-Category: Game
More info here: How to install an application on the Game phone's menu
- It is safe to delete all lines that DO NOT begin with the following:
- MIDlet-
- MicroEdition-
- Nokia-MIDlet-Category
- If the application's certificate is causing problems on installation, the lines that begin with the following can be removed:
- MIDlet-Certificate-
- MIDlet-Jar-RSA-
- Delete the lines, if they exist, that begin with:


16 Sep
2009
Generating .jad file from jar file is good thing.Because it occupies less space than .jar file. so if some .jar file is larger to download then it can be converted into .jad file.
This article shows basic concepts about .jar file and .jad file. and how to convert .jad file from .jar file.