How do you fix the selection Cannot be launched and there are no recent launches Eclipse?

How do you fix the selection Cannot be launched and there are no recent launches Eclipse?

Select DownArrow in Run .Select Run Configuration. Check the Java Class , Java path, Add Class nam ewhich have Main method(if not already added) . Then Click Run