I met the AccessDeniedException when creating a file under the C:\, anyone know how to fix it? BTW, I am already the administrator and I am using Windows 7.
Path path = Paths.get("C://afile");
Files.createFile(path);
I met the AccessDeniedException when creating a file under the C:\, anyone know how to fix it? BTW, I am already the administrator and I am using Windows 7.
Path path = Paths.get("C://afile");
Files.createFile(path);