
One of things the META-INF folder gives you is signatures and manifests for the JAR file. If you add or change classes within the JAR (as some single-player mods do - less of an issue with Forge/ModLoader), then the signature is invalidated, and the JVM will not load the JAR. Hence the need to remove the META-INF information if the JAR is changed.
Full Answer
What is Arqade website?
Why is Minecraft a meta-inf?
How many Q&A communities are there on Stack Exchange?
What happens if you delete meta-inf?
How many reputations do you need to answer a highly active question?
About this website

Can I delete META-INF in folder?
Deleting meta-inf is only necessary if you are installing a mod manually. If a mod has an auto-installer, like Forge, or it's a Forge mod installed by copying to the mods folder, you don't need to do anything extra. You also need to make sure you are using the right versions of all mods.
What does META-INF mean?
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 does the META-INF folder contains?
The META-INF directory, if it exists, is used to store package and extension configuration data, including security, versioning, extension and services.
What is META-INF in Android?
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.
Should I 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. Depending on your security settings, you might get an "unknown publisher" warning, but you'll be able to run it.
How do I remove META-INF from Minecraft JAR?
You must open minecraft. jar in a program which can edit . zip files (such as 7-zip), then delete the META-INF folder as you would anything else....Side note: In Ubuntu, you can show "dot files" in the GUI by pressing Ctrl+H. ... ... ... @Maxpm, What do you mean by dot files?More items...•
Where should META-INF go?
Basically it has to be in your classpath(under /META-INF/ ). You can manually enable it in eclipse by configuring properties. If your project is maven based, then it should be automatically picked from /src/main/resources/META-INF/ folder (provided entities are under the same hood).
What is META-INF Services folder?
A service provider is identified by placing a provider-configuration file in the resource directory META-INF/services. The file's name is the fully-qualified binary name of the service's type. The file contains a list of fully-qualified binary names of concrete provider classes, one per line.
What is the difference between META-INF and Web INF?
The META-INF directory is private and can't be accessed from the outside. On the other hand, it also contains the WEB-INF public directory with all the static web resources, including HTML pages, images, and JS files. Moreover, it contains the web. xml file, servlet classes, and libraries.
How do I run a .JAR file?
To run an application in a nonexecutable JAR file, we have to use -cp option instead of -jar. We'll use the -cp option (short for classpath) to specify the JAR file that contains the class file we want to execute: java -cp jar-file-name main-class-name [args …]
What is a JAR manifest file?
In the Java programming language, a manifest file is a text file that contains metadata related to files contained in a programmer's JAR archive. This metadata can range from information relating to package information to attributes of security properties.
Where is META-INF manifest MF?
The manifest file is named MANIFEST. MF and is located under the META-INF directory in the JAR. It's simply a list of key and value pairs, called headers or attributes, grouped into sections.
What does META stand for?
most effective tactics availableMeta can be used as an acronym for “most effective tactics available,” and calling something “meta” means that it's an effective way to achieve the goal of the game, whether it's to beat other players or beat the game itself.
What is META-INF and WEB-INF?
The META-INF directory is private and can't be accessed from the outside. On the other hand, it also contains the WEB-INF public directory with all the static web resources, including HTML pages, images, and JS files. Moreover, it contains the web. xml file, servlet classes, and libraries.
Where should META-INF folder be?
Basically it has to be in your classpath(under /META-INF/ ). You can manually enable it in eclipse by configuring properties. If your project is maven based, then it should be automatically picked from /src/main/resources/META-INF/ folder (provided entities are under the same hood).
What is META-INF in EPUB?
The META-INF folder, which contains the book's metadata information, can contain one or multiple files, but it must contain a container. xml file. This file tells Apple Books how to process the rest of the EPUB package. The OEBPS folder contains the book's content, metadata, style, and table of contents.
Thumbz
I just want to know what it is, why's it's there, and why I'm always deleting it. Also, if anyone could give me the terminal code (Mac)to do it all at once, I'd love that. It's kind of a pain to unarchive, delete META, rearchive, and rename jar every time.
desht
Sounds like more of a Minecraft modding question than a plugin development question, but...
Thumbz
Well, I suppose I don't really need to delete it, and I've been deleting it from my homemade bukkit plugins. I must have wasted at least 3 hours of my unarchiving, deleting, rearchiving, renaming... I bet I'm not the only one too.
devilquak
If you have a Mac, I would use the Minecraft Jar tool to instantly load a version of your minecraft.jar onto your desktop and drop your mod files in it, then instantly re-compress it into a .jar file. It makes life so much easier.
Milkywayz
I develop on mac and never once bothered to delete meta-inf from my plugins. No problems have ever stemmed from not doing so at least as far as i know.
PenzRules
I just wanted to say, that many blackscreens wouldn't happen, if the releases of forge wouldn't contain the META-INF folder.
LexManos
We say dont use MCPatcher because it injects its code into random/wrong places even if you tell it not to. So its just easier to say don't use it then to deal with all the hassle supporting it would be.
luacs1998
ML is kept around for older mods (FC, I'm looking at ya) that don't want, for whatever reason or another, to use forge. It uses some 'hacks' to go around the integrated server. So no ML mod is SMP. They only work in SP/LAN.
What is Arqade website?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.
Why is Minecraft a meta-inf?
Because Minecraft is digitally signed. META-INF contains a signature file (.SF) that accounts for all the files within the JAR and their checksums, and Mojang's actual signature (.RSA).
How many Q&A communities are there on Stack Exchange?
Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What happens if you delete meta-inf?
By deleting the META-INF directory, you remove the signature completely. Depending on your security settings, you might get an "unknown publisher" warning, but you'll be able to run it.
How many reputations do you need to answer a highly active question?
Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
