So I have to run a program using the terminal. But when I do that it tells me that the file I'm trying to use can not be found. When I use NetBeans to run my program, there is not problem what so ever. This id my Code
File file = new File("src/level/Level2.txt");
FileReader fileReader = new FileReader(file);
BufferedReader reader = new BufferedReader(fileReader);
When it works, the program should open a window with the level from the file. When trying out "level/Level2.txt" for the filename, it opens an empty window. Hope anybody can help me.
EDIT I found what was wrong. My Program couldn't find the Images I wanted to display.