Can't delete Minecraft files

Ok, so I wanted to download a mod. But the mod has nothing to do with the problem… Anyway, I went to delete the META-INF file in the Minecraft .jar (or Minecraft) and it did not delete, due to the file is being used by a program. I then tried to delete the Bin folder since that worked in the past with different problems. So I went to delete the BIN, and it said cannot delete, because Minecraft is being used in Java(tm)SE-BINARY. I opened Java and it closed instantly.

What can I do to get my mod on the game because the folder wont delete ANYTHING? Unless I can find out what program is currently using Minecraft?

  • Why is =! not working in testfor command?
  • Minecraft Not Using All of RAM
  • Is it possible in Minecraft to switch over from survival to creative in single player?
  • Why can I not login to Minecraft?
  • How do you install Minecraft mods on a Mac?
  • Why does testfor sometimes output an error?
  • How to set Minecraft server port from the CLI?
  • What are some tactics to fortify villages and their population against outside attack?
  • How do you host a multi-player survival game in Minecraft?
  • How do I change a spawner's type in Minecraft?
  • How can I make a tool drop blocks with CanPlaceOn tag
  • Minecraft Play from 2 different computers in the same house
  • 7 Solutions collect form web for “Can't delete Minecraft files”

    The easy way is to restart your computer and try again. If this doesn’t work try to close all apps in Task Manager manually.

    Type this command into command prompt, this should fix your problem. You can launch command prompt by doing Start Menu -> Run, then type in CMD.

    taskkill /f /im javaw.exe 

    Once you do this you should be able to delete the file.

    What this does is tell Windows you want to close the Java application that is currently using Minecraft. Once this happens it will free up the file and allow you to delete the file.

    The other options is open up your task manager and if you see any instance of javaw.exe to end task the program.

    Exit ALL of Minecraft, and all Minecraft-related applications. If this doesn’t work, delete each folder individually.

    I recommend quitting all applications that could possibly be related to minecraft. That should work as I’ve had similar problem not specifically with minecraft, but once all applications related to it were quitted I could remove any of its files.

    OK, this will work; I just did it:

    1. Go to minecraft but don’t log in.
    2. Go to options and it should say “force update”.
    3. Click that and then login.

    It will refresh everything but you will have to redownload all of your mods.

    Go to the task manager (Ctrl + Alt + Delete).
    Go to Processes and find javaw.exe, then click End Process.
    Then try to delete the file.

    If that doesn’t work try to restart your PC and try again.

    There could be a program running inside of META-INF. Go into Task Manager and if you find the program there, end the process. After that, try deleting META-INF and it may work. You cannot delete a file if a program is running inside it, or if you are trying to run the program itself, it can’t be running.

    We love Playing Games, especially Video Games.