Thanks for The Page.
when i type ant in command prompt i saw this :
unable to locate tools.jar.expect to find it in c:\program files\java\jre6\lib\tools.jar
buildfile:build.xml does not Exist.
build failed.
Hi,
When i use ths same code and compile from my system, i get below error.
BUILD FAILED
C:\anttest\test1\build.xml:9: 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\Java\jre6"
I did set JAVA_HOME in advanced variables and in autoexec.nt. When i searched in internet, some said, The
problem was that in the Build Definition Properties, a "javaHome" was set automatically which was pointing to jre instead of jdk. Please let me know do we need to set the java_home explicitey? If so where to set it?
10 Ant tutotialRavi April 22, 2011 at 8:30 AM
Its excellant material for beginners.
java-antumesh November 12, 2011 at 11:40 AM
good one...easy to learn and understand
Verry Fantasitc Ant Pankaj Kumar Mishra December 29, 2011 at 12:35 PM
This is very simple creative and fantastic ant explanation. Thanks that I learned it here so quickly
this is great Ant kick startmanish sharma February 23, 2012 at 5:54 AM
this is great contains . i am sure any new user like me can understand how ant works . great Work thanks for this artical
Ultimate post for antAbhishek kumar May 2, 2012 at 2:00 PM
Hi all, I have read the details about the ant script, it is ultimate for beginers.Thanking rose india for this post Thanks Abhishek
Ant ErrorFarzad July 22, 2012 at 2:19 PM
Thanks for The Page. when i type ant in command prompt i saw this : unable to locate tools.jar.expect to find it in c:\program files\java\jre6\lib\tools.jar buildfile:build.xml does not Exist. build failed.
build errorJagadeesh November 3, 2012 at 1:31 AM
Hi, When i use ths same code and compile from my system, i get below error. BUILD FAILED C:\anttest\test1\build.xml:9: 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\Java\jre6" I did set JAVA_HOME in advanced variables and in autoexec.nt. When i searched in internet, some said, The problem was that in the Build Definition Properties, a "javaHome" was set automatically which was pointing to jre instead of jdk. Please let me know do we need to set the java_home explicitey? If so where to set it?
About Ant Praveen January 6, 2013 at 7:24 PM
"Lesson1" is the excellent one for beginners
Post your Comment