by running this...
File file = new File("Highscores.scr");
i keep getting this error, and i really don't know how to get around it. the file is currently sitting in my source packages with my .java files. I can quite easily read the file by specifying the path but i intend to run this on multiple computers so i need the file to be portable with the program. this question isnt about reading the text file but rather specifying its location without using an absolute path . ive searched for the answer but the answers i get are just "specify the name" and "specify the absolute path". id post an image to make it more clear but i dont have the 10 rep to do so :/ how do i do this?
cheers.