I want to lock a specific folder, and I have the code, but the error "java.io.FileNotFoundException: (Access is denied)" was found
public class Folder_Lock { public static void main(String[] args) { FileLock lock = null; FileChannel channel = null; try {
can anyone solve the problem?
source share