Removing locked files using Java?

We need to delete some directories and their contents using Java running on Windows.

I was worried about running directory files that were locked.

We could just call Unlocker to do the uninstall. Or is there a more Java-oriented way to handle this situation?

+5
source share
1 answer

Java has very simplified file system access. You cannot do this without using some of your own libraries.

+4
source

All Articles