On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > I am new to Java and Ant. > > I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I > have dubble-checked this. > > Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no > quotes), this is causing serious problems, especially concerning tools.jar > .
By the way, I think you mean JAVA_HOME (note the underscore, double check that for me). You might want to check that you don't have JAVA_HOME set under user and system variables. Also at a prompt try "echo %JAVA_HOME%" and see what you get.
