×
Namespaces

Variants
Actions
Revision as of 09:27, 24 July 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JAR

From Nokia Developer 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
Article
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 09:27.
114 page views in the last 30 days.
×