'How to bypass java.nio.file.DirectoryNotEmptyException? [duplicate]
Is there a way to bypass a java.nio.file.DirectoryNotEmptyException? I want to be able to delete a folder with content in it.
Solution 1:[1]
No, you cannot bypass it. You have to delete the files and sub-directories first in the folder. There are many examples available on the web for how to do this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jayakumari Arumugham |
