import java.util.*; is not recognized by eclipse, shows red alert. All java API's are not recognized.
Here is what happened. java 7 got installed to my system automatically. From that incident, it is behaving like this. I have uninstalled Java 7. I don't use eclipse to build or run.
Please help.
Thanks in advance.
EDIT: this is the project setup.
enter image description here
1 Answer 1
Check your classpath in eclipse and make sure it has a reference to jre library. If not, add it.
UPDATE:
Right-click on an error. Click on Quick Fix and search for the suggestion of importing a project or library.