skumar.m226
29 Oct 2012, 8:21 PM
I am trying to package an example application in windows 7 and getting an error.
Could not run ant with error: 1
Failed to package application
[ERROR]
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:679: The following error occurred whi
le executing this line:
C:\Android\android-sdk\tools\ant\build.xml:692: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files (x86)\Java\jre7"
JDK path is added to path in system properties.
I have attached detailed error log file.
Can anyone help me with this.
39665
Could not run ant with error: 1
Failed to package application
[ERROR]
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:679: The following error occurred whi
le executing this line:
C:\Android\android-sdk\tools\ant\build.xml:692: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files (x86)\Java\jre7"
JDK path is added to path in system properties.
I have attached detailed error log file.
Can anyone help me with this.
39665