After importing a csv I attempted to read the file into two arrays. However, I'm getting the FileNotFoundException, though I made sure that the file existed. Any ideas what's wrong?
https://repl.it/repls/VapidFrighteningMention#Main.java
'''
import java.util.Scanner;
import java.io.*;
class Main {
public static void main(String[] args) {
String[] temp = new String[44];
String str = "";
File file = new File("file.csv");
Scanner reader = new Scanner(file);
reader.nextLine(); // skips first 2 lines of file.csv
reader.nextLine();
//more code etc....
}
}
'''