The Java facet applies only to J2EE projects. To set Java Compiler level of a non-Java EE project, such as a Java project, see Java Compiler
Step to changing Java Compiler version.
- In the Project Explorer view of Java EE perspective, right-click the project and select Properties.
- Select the Project Facets page in the Properties window. This page lists the facets in the project and their verions.
- Click Modify project.
- Double click the version number next to the Java facets to select a different level of Java compiler.
- Click Finish to close the Modify Faceted Project window and then click OK.