Just install JDK in directory without spaces and than set JAVA HOME to
that and the problem will go away

On Dec 9, 2:34 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote:
> Tharun install JDK in directory without spaces and tell ant to find
> the tools.jar from that install..ie Ant should be launched from your
> jdk install..
>
> Its only a headache on windows :)
>
> On Dec 9, 6:49 am, "Tharun Kumar" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm trying to build on Ant. But I'm stuck with a thing. When I try to
> > run ant, I'm getting following error note on command prompt.
>
> > I've copied the build.xml inside java folder.
>
> > D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin>ant
> > Unable to locate tools.jar. Expected to find it in C:\Program 
> > Files\Java\jre1.6.
> > 0_02\lib\tools.jar
> > Buildfile: build.xml does not exist!
> > Build failed
>
> > Prior to this, I've set JAVA_HOME environment variable.
>
> > Which is the right path to copy the build.xml?
>
> > Can you someone help on this?
>
> > Regards,
> > Tharun
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to