There is a code:
File f =new File("myfolder"+File.separator+"myfile.temp"); if(!f.delete()){System.out.println("NOT DELETE " +f);} The file is not deleted. Called at the end of the program, in theory, the file no one holds. Tried through try-catch, but the exception does not generate. How can I find out why the file is not deleted?
delete()method and find out where exactly thefalsereturns. - iksuy