Hello all.

I followed along with the instructions in the lab for this part to
create and read the myProperties.txt file.  I'm using NetBeans 6.5.  I
created the file through NetBeans and found that it saved the file in
the project folder ("...\SetSystemProperties\myProperties.txt").  When
I tried to build the program, I got a "File Not Found" exception.  I
checked all of the code and it matched the text in the exercise.  So I
tried moving the myProperties.txt file into the src folder within the
project to be with the .java file, but the program threw the exception
again.  I even tried putting in the full path and filename ("k:/.../
myProperties.txt") but it still couldn't find it.  Where is the text
file supposed to reside or is there some other method to tell Java
where to look for the text file?

Thank you.

Eric

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to