Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FileNotFoundException

843810Aug 4 2005 — edited Aug 8 2005
Hi all,

I am trying to write out some data into a file called incvoice.CSV, but i encountered the following exception.

java.io.FileNotFoundException: C:\temp\invoice.CSV(The system cannot find the file specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)

Could someone know what do it mean "The system cannot find the file specified" ? I found the exception weird is that I am writing out the data to a new file and this is true that the system shouldn't find the file.

Thanks for helping me solving the problem above
nie feng
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2005
Added on Aug 4 2005
3 comments
110 views