Namespaces
Variants
Actions

JAR

Jump to: navigation, search
Needs-update.png
This 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
SignpostIcon Upload 52.png
Article Metadata

Article
Created: firt (09 Apr 2007)
Last edited: hamishwillee (27 Mar 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, internationalization labels, game levels, etc.)
  • Manifest file

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

Warning.png
Warning: 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 27 March 2013, at 04:10.
169 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved