I'm using Windows 7, I use eclipse kepler and Java 7 and JRE 7(64 -bit).
My ant build is not running in this environment. I have set path and environmental variables. I have defined class path, ANT_HOME, my tools.jar is also available. But still when I run build.xml it says
mxml:
Error: could not find JRE
Error: could not find Java 2 Runtime Environment.
BUILD FAILED
D:\\build.xml:5: exec returned: 2
Total time: 945 milliseconds
JRE I defined is JRE 7. but how do I get this error? How is it pointing to JRE 2