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