I pointed the JAVA_HOME to C:\\Program Files (x86)\\Java\\jre7. It works fine. Afterwards, I unzipped ant and set up the environment variables rela
JAVA_HOME
C:\\Program Files (x86)\\Java\\jre7
For people late to the party and learning it now, it doesn't matter now since new JDK versions don't have separate JRE folder. So, we can point to JDK and be done with it.