Need to run Java 6 EE with Eclipse EE version.
- Make Java 1.6 the default Java execution environment: Run Java Preferences.app (in Finder -> Applications -> Utilities). I changed the Java versions to default to using Java 1.6 by drag Java SE 6 to the top of the application and applet lists.
- Which java version am I running?: In a terminal window use: /usr/libexec/java_home
- When creating a Java project, Eclipse prompts for the desired JRE version in the new project dialog box. To ensure that Eclipse tracks the language differences between versions, also select the desired version in Preferences->Java->Compiler->Compiler compliance level to match your project.
- Use the 64-bit Cocoa version of Eclipse 3.5.1.
OTOH, see http://eclipse.dzone.com/articles/eclipse-galileo-mac-cocoa-or