Using eclipse, I have a file titled bad_words.txt in my project folder titled HackGSU. I want locate the file and read the contents of the file. I saw this answer how to read te
Looking at the error it doesn't look like you are getting the full path. Instead of
p.concat("/HackGSU/bad_words.txt");
Try
p = p.concat("/HackGSU/bad_words.txt");