I have taken a huge project from one of my friends and I just want to view the files just to understand some coding architectures they have implemented. On my system I don\'
This is not the right way , just a workaround if you just want to browse the source code and not worried about compile and building it.
You just need to remove the source folder in the java build path , this will help you to get rid of those red errors that clutter your source.
Right click on Project->Properties->Java Build Path->in Source tab select your source folder and click remove.
Restart your eclipse.