Setting the JDK Compliance Level

Use this procedure to set the JDK compliance level. The right compiler’s JDK compliance level in Eclipse is set by default on the projects created by M3 Adaptation Kit (MAK) and normally should not be changed.

To set the JDK compliance level

  1. Start Eclipse.
  2. Select Window > Preferences. The Preferences window is displayed.
  3. Expand the node for Java.
  4. Select Compiler. The properties for Compiler are displayed.
  5. Click Configure Project Settings. The Project Specific Configuration window is displayed.
  6. Select a Java component project to configure in the list then click OK.
  7. Select the option to Enable project specific settings . All the other options are enabled.
  8. In the Compiler compliance level field, select the correct level. For more information about the correct version, see System Requirements in the M3 Adaptation Kit Installation Guide.
  9. Select the option to Use default compliance setting.
  10. Click Apply then click OK to apply the changes.