In my Eclipse JUNIT test I have several text input files that are opened by
new BufferedReader(new FileReader(inputFileName));.
They are placed in the root directory of the project After exporting this project to jar these files are placed to the jar root directory.
I run the JUNIT test from LINUX as
java -cp "<my jar>:junit-4.8.2.jar:jaxb-impl.jar" junit.textui.TestRunner <test class name>
However, in this case I am getting java.io.FileNotFoundException What is the best way to fix this problem on LINUX and at the same time still able to run the tests from Eclipse?