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
Generally, it does not matter if you point it at JRE or JDK. It depends on the application which uses it. Ant documentation says you should point it at JDK to get all Ant's features.