Dear Sir,
I get the below error when I run the program above
in Netbeans editor.
Error Details:-- Exception in thread "main" java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:947)
at practicey102.main(practicey102.java:16)
Java Result: 1
This won't workCharles June 27, 2012 at 5:58 AM
You will get IOException. Use File.mkdirs to create the path before the file.
'error in running the first program above'savio November 12, 2012 at 7:23 PM
Dear Sir, I get the below error when I run the program above in Netbeans editor. Error Details:-- Exception in thread "main" java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:947) at practicey102.main(practicey102.java:16) Java Result: 1
Post your Comment