Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I remove META-INF from minecraft.jar, without administrator privileges? I can't install new software.

share|improve this question

migrated from gaming.stackexchange.com Aug 20 '11 at 15:31

This question came from our site for passionate videogamers on all platforms.

    
The problem with<u> <i> Bin</i> </u>Is that sometimes it can't be found in folders. And if you manually delete meta-inf with winrar, it says that the archive is corrupt. It's not just my computer, because I have tried this multiple times on multiple computers. –  user301204 Feb 18 at 17:42
    
I can make a pretty good guess that if you are deleting the META-INF you are playing with mods. Right? Are you using minecraft Forge? If so are running 1.5.x or 1.6.x? If so use the installer which will install forge for you and delete the META-INF and do a little house cleaning. –  Solignis Feb 18 at 19:51
    
When you mean you are not able to install new software do you mean you are not allowed to modify the system or you require elevation to do so? If so you are sort of in luck. As long as you have the JVM installed minecraft should just run. You will need to store the minecraft files in a place where you have access to read and write. Byt the sound of it that is not on the C:\ drive. –  Solignis Feb 18 at 19:53

2 Answers 2

I'm not certain what you mean by "manual file deleting", but here's how to delete the META-INF folder.

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. This should not require administrator privileges, as minecraft.jar resides inside your home folder, over which you have almost total control. On Windows, you can reach the correct folder by pressing Win+E (the Windows key is the one that looks like the Start menu) and typing %AppData%\.minecraft\bin in the text box at the top of the window which appears.

If you're not comfortable doing this yourself, you might ask someone with more computer experience to help you. A program or script could be written to do it for you, but that would require the installation of additional software on your computer (which typically does require administrator rights).

share|improve this answer

In addition to Ben Blank's answer, if you cannot install a zip application as you do not have administrator rights, you could just rename mincraft.jar.

As a .jar file is just a .zip file under another name, and if you are using Windows, which can now open .zip files as if they were directories, you can just rename minecraft.jar to minecraft.zip. You can now delete META-INF without installing any further apps. After this, be sure to rename the .zip back to .jar.

Linux should also have native zip readers, depending on the distro, and the minecraft data directory is in your /home/[usr]/.minecraft directory, which may be hidden from your file explorer UI as it starts with a dot.

share|improve this answer
1  
Side note: In Ubuntu, you can show "dot files" in the GUI by pressing Ctrl+H. –  Maxpm Aug 20 '11 at 18:22
    
... or by pressing ctrl+L after clicking in a directory (in Gnome, at least), you can edit the location, and manually add the .minecraft extension –  lagerdalek Nov 18 '11 at 3:22
    
@Maxpm, What do you mean by dot files? –  Pacerier Nov 17 at 8:24
    
@Pacerier Dot files are files (or folders) whose names begin with a .. By convention, they're hidden by default on Unix-like systems. –  Maxpm Nov 18 at 4:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.