Problem Description:
There was an error running the Ant Bulk Packaging tool in eclipse with the following log information:
D:\android\android-sdk-windows\tools\ant\build.xml:601:the following error occurred while executing the line:
D:\android\android-sdk-windows\tools\ant\build.xml:720:the following error occurred while executing the line:
D:\android\android-sdk-windows\tools\ant\build.xml:734:unable to find a javac compiler;
Com.sun.tools.javac.Main isn't on the classpath.
Perhaps Java_home does not point to the JDK.
It is currently set to "D:\Program Files\java\jre7″
Solution:
Eclipse Menu –window–preferences–java–installed jres– The JRE entry in the selected column table –edit–add External jars– Select the JDK directory/lib/tools.jar -Confirm that it joins the JRE system Libraries–finish–ok
If you have any questions, please email to [email protected], thank you for your reading
This article is from the "Small Night" blog, please be sure to keep this source http://237722726.blog.51cto.com/6114043/1763566
Bug and solution in eclipse using ant to play Android package