I know this a really simple question, but I am doing something wrong and it's driving me crazy! I have a file named input.csv
that I want to convert to a tab delimited file.
This is what I have, but it is saying no such file or directory
. The file is saved on my desktop, am I just missing something very simple? any tips would help!
public class Main {
public static void main(String[] args) throws FileNotFoundException {
Scanner sc = new Scanner(new File("input.csv"));
}
}