If you already have the JDK installed into "Program Files" on windows you can always use the MS-DOS style directory reference: C: \Progra~1\Java\jdk1.6.0_07\
If you're running a 64-bit OS you'll need to ensure that points to the correct directory (Program Files (x86) or Program Files) depending on whether you install the 64-bit version of the JDK. Although I didn't have much luck with the 64-bit JDK and Eclipse when I tried it a few months back. -Paul On Dec 9, 2:39 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

