Fresh install of Eclipse on 10.9.2 cannot access com.apple.eawt package contents
This turns out to be an Eclipse configuration issue not an Mac configuration issue.

Under the build path the jvm has access rules that forbid the use of the com.apple package and sub packages. I added an access rule "com/apple/eawt/**" and now Eclipse is happy to compile the code.

Open the project properties and select the access rules for the JRE used for the Java Build Path


Then add an access rule to allow access to the com.apple.eawt package.