Java help needed to rename a file after output is FINISHED?
Close all references (the scanner, the output stream, etc.) to both files before trying the rename. It is probably failing because they are open. Just using a different File object doesn't remove this problem.
No comments:
Post a Comment