Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.


From Wiki
Jump to: navigation, search

Needs-update.pngThis article needs to be updated: If you found this article useful, please fix the problems below then delete the {{ArticleNeedsUpdate}} template from the article to remove this warning.

Reasons: hamishwillee (27 Mar 2013)
This article should be merged with articles containing similar material: JAD, JAR, Java Application Descriptor (JAD) essentials, MIDlet JAR Manifest essentials

Article Metadata
Created: firt (09 Apr 2007)
Last edited: hamishwillee (24 Jul 2013)

A JAR File (Java ARchive) is a ZIP file used to distribute a set of Java classes. It is used to store compiled Java classes and associated metadata that can constitute a program.

In Java ME it's the format in wich an application or game is distributed. It can be generated by a SDK, by a command-line tool, or by using an IDE, like NetBeans or Eclipse.

A Java ME JAR file can include:

  • Compiled and preverified classes (MIDlet and other).
  • Icons, graphics and images.
  • Data information (records, localisation labels, game levels, etc.)
  • Manifest file

A JAR file usually is distributed with a JAD file, describing what the JAR has.

Warning.pngWarning: MIDlet attributes must be the same in both JAR manifest and the JAD! Otherwise the application will not work after being signed.
For more information on signing and Java verfied see this FAQ. In particular topics "Signing Java ME applications" and "Why doesn't my signed midlet work?"

This page was last modified on 24 July 2013, at 06:27.
100 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.