Question : Reading a text file from eclipse

Hi

I am trying to read a .txt file in a java program with Myeclipse. should i include the .txt file in the build path ? if so how ? if not what else needs to be done ? I am in Mac environment.

Note: i have got the code in the program which can read the lines in the .txt. all i need is the program to access the .txt file.

Answer : Reading a text file from eclipse

If you're not sure what your home directory is:

http://technojeeves.com/joomla/index.php/free/54-javasystemproperties
Random Solutions  
 
programming4us programming4us