Path building in eclipse | Sololearn: Learn to code for FREE!


Path building in eclipse

I downloaded a file and wrote some code to read the number of lines in the file. I keep getting this error message: File not found. I do not want to use File(“.”).getAbsolutePath. I fear that I may have messed up the path builder by just randomly changing stuff and would like to have everything back to default settings.

3/19/2018 8:11:01 PM

Vimbai Mawoneke

5 Answers

New Answer


First - and most important - make sure the Java path is set up correctly in the environmental variables (speaking of Windows). Then you could try to create a new workspace and import your project. If that doesn't resolve the issue, the project settings might cause it. Then you could create a new project and copy/paste the Java files to it. There are other ways like editing the settings files, but I would do as I recommended to play it safe ;)


Tashi N ^_^


Burey :)


Hello, Tashi N . At all mods here we are guilty of turning this to a chat thread 😁


keep it up on the coding.I am still learning I am just a learner