Below is my code to check of the JDK version installed:
[Macintosh-2:~] Moby% java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
The installed Java compiler is 1.7 and JRE 1.7 in my eclipse. But in the project facets, I’m not able to choose Java 1.7.
Can anyone tell me why Java 1.7 is not even displayed in the project facets?