java - eclipse run configurations can't find text file -


i trying set program read file though command line args[0]. set run configuration in "arguments" tab using .txt file name under "program arguments" can't find it. i've tried importing file source , adding files project folder. have no idea i'm doing wrong. code i'm using. i'm pretty new maybe it's obvious don't know. hope question makes sense.

scanner input = null; string fn = null; try{      fn = args[0];      input = new scanner(new file(fn));   } 


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -