I have imported the following and still get an error when using sendKeys();
sendKeys();
import org.openqa.selenium.*; import org.openqa.selenium.firefox.*;
As you are using JDK8, your compiler version should be 1.8 which you can get only with latest eclipse version - ECLIPSE LUNA. Alternate way is to downgrade your JDK8 to JDK7 and it will still work.