mozilla

Revision 527427 of About omni.ja (formerly omni.jar)

  • Revision slug: Mozilla/About_omni.ja_(formerly_omni.jar)
  • Revision title: About omni.ja (formerly omni.jar)
  • Revision id: 527427
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment copy edit and cleanup

Revision Content

{{ gecko_minversion_header("2.0") }}

Firefox and Thunderbird achieve performance improvements by moving many of their internal parts from being standalone files or sets of JAR files into just one JAR file called omni.ja; this reduces the amount of I/O needed to load the application.

Inspecting omni.ja

Note: When extracting omni.ja, you may incorrectly get false warnings from some virus protection software.

Several unzip tools and archives (including any version of 7-Zip) currently cannot read omni.ja, due to the optimization that is applied to the file. It is suggested that Windows 7 users unzip the file by renaming it to omni.zip and using Windows Explorer to extract all files. Users of older versions of Windows can use InfoZip's UnZip tool to extract files - make a copy of omni.ja, and drag-and-drop it onto unzip.exe.

omni.ja is also incompatible with Zip files in the other direction; editing extracted files won't affect Firefox, and repacking edited files may break Firefox if you do not use the right options when packing the extracted files. The correct command to pack omni.ja is:

zip -qr9XD omni.ja *
Note: Prior to Firefox 10 and Thunderbird 10, omni.ja was called omni.jar.

omni.ja contents

The omni.ja file contains assorted application resources:

chrome.manifest
The chrome manifest file.
/chrome/
User interface files for the application
/chrome/localized.manifest
Manifest of localized content; referenced by the main chrome manifest file.
/chrome/nonlocalized.manifest
Manifest of non-localized content; referenced by the main chrome manifest file.
/components/
XPCOM components the application relies upon.
/defaults/
Default preference files.
/modules
JavaScript code modules.
/res/
Miscellaneous resource files.

See also

{{ languages( { "ja": "ja/About_omni.jar" } ) }}

 

Revision Source

<p>{{ gecko_minversion_header("2.0") }}</p>
<p>Firefox and Thunderbird achieve performance improvements by moving many of their internal parts from being standalone files or sets of JAR files into just one JAR file called <code>omni.ja</code>; this reduces the amount of I/O&nbsp;needed to load the application.</p>
<h2>Inspecting omni.ja</h2>
<div class="note">
 <strong>Note:</strong> When extracting <code>omni.ja</code>, you may incorrectly get false warnings from some virus protection software.</div>
<p>Several unzip tools and archives (including <em>any</em> version of 7-Zip) currently cannot read <code>omni.ja</code>, due to the optimization that is applied to the file. It is suggested that Windows 7 users unzip the file by renaming it to <code>omni.zip</code> and using Windows Explorer to extract all files. Users of older versions of Windows can use <a class="link-ftp" href="ftp://ftp.info-zip.org/pub/infozip/win32/unz552dn.zip" title="ftp://ftp.info-zip.org/pub/infozip/win32/unz552dn.zip">InfoZip's UnZip tool</a> to extract files - make a copy of <code>omni.ja</code>, and drag-and-drop it onto <code>unzip.exe</code>.</p>
<p><code>omni.ja</code> is also incompatible with Zip files in the other direction; editing extracted files won't affect Firefox, and repacking edited files may break Firefox if you do not use the right options when packing the extracted files. The correct command to pack <code>omni.ja</code> is:</p>
<pre>
zip -qr9XD omni.ja *</pre>
<div class="note">
 <strong>Note:</strong> Prior to Firefox 10 and Thunderbird 10, <code>omni.ja</code> was called <code>omni.jar</code>.</div>
<h2 id="omni.ja_contents">omni.ja contents</h2>
<p>The <code>omni.ja</code> file contains assorted application resources:</p>
<dl>
 <dt>
  <code>chrome.manifest</code></dt>
 <dd>
  The <a href="/en/Chrome_Registration" title="en/Chrome Registration">chrome manifest</a> file.</dd>
 <dt>
  <code>/chrome/</code></dt>
 <dd>
  User interface files for the application</dd>
 <dt>
  <code>/chrome/localized.manifest</code></dt>
 <dd>
  Manifest of localized content; referenced by the main chrome manifest file.</dd>
 <dt>
  <code>/chrome/nonlocalized.manifest</code></dt>
 <dd>
  Manifest of non-localized content; referenced by the main chrome manifest file.</dd>
 <dt>
  <code>/components/</code></dt>
 <dd>
  XPCOM&nbsp;components the application relies upon.</dd>
 <dt>
  <code>/defaults/</code></dt>
 <dd>
  Default preference files.</dd>
 <dt>
  <code>/modules</code></dt>
 <dd>
  <a href="/en/JavaScript_code_modules" title="en/JavaScript code modules">JavaScript code modules</a>.</dd>
 <dt>
  <code>/res/</code></dt>
 <dd>
  Miscellaneous resource files.</dd>
</dl>
<h2 id="See_also">See also</h2>
<ul>
 <li><a href="/en/Firefox_4_for_developers" title="en/Firefox 4 for developers">Firefox 4 for developers</a></li>
 <li><a href="/en/Thunderbird_5_for_developers" title="en/Thunderbird 3.3 for developers">Thunderbird 3.3 for developers</a></li>
 <li><a href="/en/Theme_changes_in_Firefox_4" title="en/Theme changes in Firefox 4">Theme changes in Firefox 4</a></li>
 <li><a class="external" href="http://blog.mozilla.com/tglek/2010/09/14/firefox-4-jar-jar-jar/" title="http://blog.mozilla.com/tglek/2010/09/14/firefox-4-jar-jar-jar/">Firefox 4: jar jar jar</a> (blog post)</li>
</ul>
<div class="noinclude">
 <p>{{ languages( { "ja": "ja/About_omni.jar" } ) }}</p>
</div>
<p>&nbsp;</p>
Revert to this revision