code: public static void deleteRecursive( File f ) {
  		if (f.isDirectory()) {
  			for (File c : f.listFiles())
  				deleteRecursive(c);
  		}
  		if (!f.delete())
  			throw new RuntimeException("Failed to delete file: " + f);
  	}
docs: Deletes all the file/directory and all of its children