You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Sayed, Irfan (Irfan)" <is...@avaya.com> on 2007/06/27 15:48:13 UTC

Ant help

Hi All,
 
I am getting one error while running build.xml file. Following is the
error.
 
D:\Irfan>ant dist
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.6.
0_01\lib\tools.jar
 
Can somebody please help.
 
Regards
Irfan.
 

RE: Ant help

Posted by "Anderson, Rob (Global Trade)" <Ro...@nike.com>.
Does the build succeed, or does it fail?

-Rob A 

> -----Original Message-----
> From: Sayed, Irfan (Irfan) [mailto:isayed@avaya.com] 
> Sent: Wednesday, June 27, 2007 6:48 AM
> To: user@ant.apache.org
> Subject: Ant help
> 
> Hi All,
>  
> I am getting one error while running build.xml file. 
> Following is the error.
>  
> D:\Irfan>ant dist
> Unable to locate tools.jar. Expected to find it in C:\Program 
> Files\Java\jre1.6.
> 0_01\lib\tools.jar
>  
> Can somebody please help.
>  
> Regards
> Irfan.
>  
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant help

Posted by "Scot P. Floess" <fl...@mindspring.com>.
You may need to set your JAVA_HOME to a JDK install - not a JRE install...

Sayed, Irfan (Irfan) wrote:
> Hi All,
>  
> I am getting one error while running build.xml file. Following is the
> error.
>  
> D:\Irfan>ant dist
> Unable to locate tools.jar. Expected to find it in C:\Program
> Files\Java\jre1.6.
> 0_01\lib\tools.jar
>  
> Can somebody please help.
>  
> Regards
> Irfan.
>  
>
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-392-6730 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org