Java

Lets you control all Java related settings.

Figure 2.33. Java settings page

Java settings page

Source compatibility

Lets you specify the Java platform compliance level.

Table 2.5. Compliance levels

LevelDescription
Java SE 6 assert and enum are recognized as reserved keywords. the section called “Insert @Override annotation” may be enabled to have missing annotations inserted for overridden and implemented methods
J2SE 5.0assert and enum are recognized as reserved keywords. the section called “Insert @Override annotation” may be enabled to have missing annotations inserted for overridden methods
J2SE 1.4assert is recognized as a reserved keyword
J2SE 1.3assert and enum are valid identifiers that can be used to name variables and/or methods

It is highly recommended to avoid strings that have become reserved keywords when targeting older Java releases. It’s therefore probably a good idea to stick with at least J2SE 5.0 compliance.