What is Meta-INF file?
What is Meta-INF file?
The META-INF folder is the home for the MANIFEST. MF file. This file contains meta data about the contents of the JAR. For example, there is an entry called Main-Class that specifies the name of the Java class with the static main() for executable JAR files.
What is the structure of war file?
A war file is just a jar file (like a zip archive) with a standard structure. Basic structure: WEB-INF/ – directory for application support lib/ – supporting jar files web. xml – configuration file for the application …
What is meta-INF in jar?
Jar files are used by all types of java applications, they have a specific structure – the META-INF folder contains the manifest information and other metadata about the java package carried by the jar file. SF file along with the certificate chain of the public key used for signing the contents.
How is meta-INF created?
The META-INF directory The manifest file that is used to define extension and package related data. This file is generated by the new “-i” option of the jar tool, which contains location information for packages defined in an application or extension.
What is the Web-INF folder?
WEB-INF is a directory that forms part of the folder structure defining a web application. These folders can be found in Java applications and usually follow a common structure including the following files: Web. xml – this is an XML file called a deployment descriptor.
What is WAR file with example?
A WAR file is simply a JAR file but contains only Web related Java files like Servlets, JSP, HTML. To execute a WAR file, a Web server or Web container is required, for example, Tomcat or Weblogic or Websphere.
Why did you have to delete META-INF?
When you do tamper with it by installing mods, the signature becomes invalid and Minecraft won’t start at all. By deleting the META-INF directory, you remove the signature completely.
What is meta-INF in eclipse?
FYI – META-INF is an internal Java meta directory. Generally, you want to rely on your packaging tool such as ant or maven to build the content of META-INF folder rather than doing it by yourself.