To compile Java classes and run JDO enhancer with Eclipse, you need to add the Eclipse profile before you generate the Java code and JDO persistence descriptor.