I am really having trouble starting with eclipse. I want to configure eclipse so that it uses the version 7 for both the jdk and jre. How can I do this.
Right now,when I try to deploy my application to google app engine, I get this message :
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use
a JDK, not a JRE.
This is my configuration for the installed jre section :

What could be the reason for the problem ? Please give an insight into the problem.