Modern Mac Java Development

The latest releases of XCode don’t ship with Java anymore. You’ll need the Java Developer package from Apple.

(For me, this means downloading Eclipse, Java Developer, Tomcat, and the Java Web tools for Eclipse.)