Comment Comment by sedro That's how java.io.File#deleteOnExit works under the hood. The DLL is still loaded at that point and can't be deleted. parent sedro 2 years ago