We have a java program that is scheduled to run every hour using the quartz library.
Even after closing all input and output streams to that file, the function file.delete() is not working.
The file in question is named data.csv.
It lives on the desktop and has a header row consisting of 49 columns and approximately 202,700 rows.
The program is able to delete the file the first time it runs but fails to delete it in subsequent triggers.