How to check out the problems by selection in Eclipse:
Open Eclipse create new project, for Example program refer this link: Java Hello World program using Eclipse
In my case here creating a ‘simple project’as shown below
In this simple project here we are having some problems, so that it will shows red icon on project, and run the project or program could not be run because of existing errors , to solve that problems it can be run or work, By this time in Eclipsewe have the additional option is there (i.e.) problems rectifying(identifying). Goto Eclipse in that click on the Window option and click on the Show View after that Click on the Problems button.Which is Shown like below..
It will shows the problems whatever are there in project
In the above figure it shows the current project is simple, it has the 3 error's but in problems it shows the 5Error’s.
Why because the problems are considering the entire all projects problems that’s why it shows the 5Erros.
In this case it is unable to identify the errors on current run program. To identify the problems on current running project Go to Problems tag in that Click on down-arrow symbol, Click on the Show option then select the Errors/warnings on Select option. Now select current running project it means which program to run. Shown below
Now the problems are decreased compare to perviuos Errors (problems) why because selected the current running program. The Errors are shows only for selected project.
In above it shows only for the current running program it having the 3Errors now it is easy to identify which type of errors on particular running program.