JDK-detection is done in the calling batch file.
If detection is disabled if JAVA_HOME is set.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Timothy Crowell [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 23. Oktober 2007 11:42
>An: Ant Users List
>Betreff: Re: JAVA-HOME is pointing to JRE
>
>Thank you! Ant is working now. I replaced "%20" with a space.
>
>I have seen %20 in other variables and it works. I have tried 
>spaces in some variables and it breaks.
>
>Usually, I have noticed that when spaces don't work, %20 does.
>
>I think Ant was falling back to auto-detect and chose the JRE folder.
>
>-Timothy
>
>----- Original Message ----
>From: Peter Reilly <[EMAIL PROTECTED]>
>To: Ant Users List <user@ant.apache.org>
>Sent: Tuesday, October 23, 2007 3:44:51 AM
>Subject: Re: JAVA-HOME is pointing to JRE
>
>
>You should not have the %20 in the name. This is
>a url escape sequence and will not be usable for most software.
>Peter
>
>On 10/23/07, Timothy Crowell <[EMAIL PROTECTED]> wrote:
>> I tried "echo %JAVA_HOME%" (without quotes) on the Microsoft Windows
> XP SP2 Command line and I got "C:\Program%20Files\Java\jdk1.6.0_03"
> (without quotes).
>>
>> Bizard's suggestion seems to be PISIX specific.
>>
>> -Timothy
>>
>> ----- Original Message ----
>> From: Lionel van den Berg <[EMAIL PROTECTED]>
>> To: Ant Users List <user@ant.apache.org>
>> Sent: Tuesday, October 23, 2007 3:01:11 AM
>> Subject: Re: JAVA-HOME is pointing to JRE
>>
>>  On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote:
>> >
>> > Oh, I already have the JDK and JAVA_HOME is pointing to the JDK,
> but  the
>> > Command line is always looking in the JRE folder.
>> >
>> > -Timothy
>> >
>> > P.S. I have installed Ant on two computers, only one of them has
> this
>> > problem.
>>
>>
>>
>> Please execute my suggestion of using echo and also Bizard's
>  suggestion.
>>
>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to