java - no such file or directory when reading a csv file -


i know simple question, doing wrong , it's driving me crazy! have file named input.csv want convert tab delimited file.

this have, saying no such file or directory. file saved on desktop, missing simple? tips help!

public class main {      public static void main(string[] args) throws filenotfoundexception {         scanner sc = new scanner(new file("input.csv"));     } } 

input full path file (c:\users\youruser\desktop\thefile.csv). it's not throwing permissions error need tell is.


Comments