I am on windows environment and using maven to compile my project. Although I just created the project and added the dependencies for various libararies.
As I added
It seems your JAVA_HOME is set to point to the JRE in eclipse.