I am trying to run some Java EE examples. Ant is suggesting: Perhaps JAVA_HOME does not point to the JDK. It is currently set to \"C:\\Program Files\\Java\\jre7
When you click on the next button in the JRE Type window after selecting Standard VM you go to the next window named JRE Definition where you can find the Directory button.