Index JAR "jar -i" Command Syntax


What are syntax rules of the "jar -i" command for indexing a JAR file?



The "jar -i" command allows you to add or update index to an existing JAR file. It has the follow syntax:

jar -i jar-file

"jar-file" must be provided to specify the JAR file, to which the index entry META-INF/INDEX.LIST will be added or updated.

Here are some example of valid "jar -i" commands

   jar -i my.jar
      Rebuild the index of all entries in the JAR
      and store it as META-INF/INDEX.LIST in the JAR

Back to FAQ for JDK JAR (Java ARchive) Tool.

2016-05-15, 2345🔥, 0💬