Name: boT120536 Date: 07/22/2001 java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) 1. create a jar file like this.... jar cvfm app.jar our_manifest.mf * The manifest file looks like... <start> Manifest-Version: 1.0 Main-Class: Main Class-Path: /lib/utils.jar /lib/xmlutil.jar /lib/db.jar /lib/log4j.jar /lib/referencedata.jar <end> *Note that all the entries for the Class-Path: attribute are on the same line.* 2. extract the manifest like this... jar xvf app.jar META-INF/MANIFEST.MF The manifest now looks like... <start> Manifest-Version: 1.0 Main-Class: Main Created-By: 1.3.1 (Sun Microsystems Inc.) Class-Path: /lib/utils.jar /lib/xmlutil.jar /lib/db.jar /lib/log4j.jar /lib/referencedata.jar <end> Note that the /lib/referencedata.jar entry is now on a line on its own. The manifest file is now not valid. (Review ID: 128114) ======================================================================
|