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?
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:
- Go to minecraft but don’t log in.
- Go to options and it should say “force update”.
- 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).
Processes and find
javaw.exe, then click
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.