I am writing a java program in eclipse(galileo version). The program reads simple user data from input file specified at console command and process it.
The default working directory, when you run a Java app in Eclipse, is the project directory. If you place your data file in that directory, you can simply refer to the file without any preceding path. You can also change the working directory but modifying the launch properties for your app.