Does Files.createTempDirectory remove the directory after JVM exits normally? Or do I need to manually recursively remove the temporary directory content?
As with the createTempFile methods, this method is only part of a
temporary-file facility. A shutdown-hook, or the File.deleteOnExit()
mechanism may be used to delete the directory automatically.