java.io.FileNotFoundException

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 3
Reputation: deifyme is an unknown quantity at this point 
Solved Threads: 0
deifyme deifyme is offline Offline
Newbie Poster

java.io.FileNotFoundException

 
0
  #1
Feb 21st, 2008
Hi all,
m having this java.io.FileNotFoundException: The system cannot find the specified file, although the file is there in the folder.

waiting for some replies,
thanks
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,844
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: java.io.FileNotFoundException

 
0
  #2
Feb 21st, 2008
What kind of file is it? Are you reading data from a data file and the Java program can't find the data file? Or is it some class file it can't find? From your description it sounds like the former. I assume this is a run time error rather than a compiler error.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 3
Reputation: deifyme is an unknown quantity at this point 
Solved Threads: 0
deifyme deifyme is offline Offline
Newbie Poster

Re: java.io.FileNotFoundException

 
0
  #3
Feb 21st, 2008
Its a text file .....although the required text file is right in the same folder where my java program is.....Is it because I put throw IOException...
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,844
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: java.io.FileNotFoundException

 
0
  #4
Feb 21st, 2008
Originally Posted by deifyme View Post
Its a text file .....although the required text file is right in the same folder where my java program is.....Is it because I put throw IOException...
I don't know. Maybe you should post your Java file and your text file, if they're not too huge. Might make it easier for us to respond that way. I assume you have a "catch" along with your "throw"?
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 3
Reputation: deifyme is an unknown quantity at this point 
Solved Threads: 0
deifyme deifyme is offline Offline
Newbie Poster

Re: java.io.FileNotFoundException

 
0
  #5
Feb 21st, 2008
u were right the problem was at runtime..it got sorted out..thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 5993 | Replies: 4
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC