Try the following:
XXXX being your user account on your system.
I don't want to be that guy but have you tried rebooting your computer? If you've got a file locked in any program, that generally means the process/file is in use somewhere. Be that a borked Java process or anything else.