I am trying to execute this very simple program to create an empty file named myfile.txt in the current directory. I am getting the below error.
Exception in thread "main" java.io.IOException: The system cannot find the file
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)