I am trying to read a file line by line and I am using this code:
I am getting the filename via args and my question is if always only the filename is passed, will it always try to get the file from the executing directory of the compiled jar file ?
Thank you in advance for an answer !
Carey Brown wrote:This won't even compile. Could you work out the compilation issues first? If you get stuck then cut and past THE ENTIRE error message here along with a current copy of the state of your code.