Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98548 invoked from network); 29 Dec 2004 21:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Dec 2004 21:40:35 -0000 Received: (qmail 93022 invoked by uid 500); 29 Dec 2004 21:40:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 92979 invoked by uid 500); 29 Dec 2004 21:40:27 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 92957 invoked by uid 99); 29 Dec 2004 21:40:27 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from imap.gmx.net (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 29 Dec 2004 13:40:24 -0800 Received: (qmail invoked by alias); 29 Dec 2004 21:40:21 -0000 Received: from p5080EBC7.dip0.t-ipconnect.de (EHLO [127.0.0.1]) (80.128.235.199) by mail.gmx.net (mp002) with SMTP; 29 Dec 2004 22:40:21 +0100 X-Authenticated: #22961642 Message-ID: <41D3242E.1070709@gmx.de> Date: Wed, 29 Dec 2004 22:39:58 +0100 From: Antoine Levy-Lambert User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: system variables for win2k References: <20041229205446.EA0D579008C@cal1-1.us4.outblaze.com> In-Reply-To: <20041229205446.EA0D579008C@cal1-1.us4.outblaze.com> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N THUFIR HAWAT wrote: >>from the manual: > >"Windows and OS/2 >Assume Ant is installed in c:\ant\. The following sets up the environment: >set ANT_HOME=c:\ant >set JAVA_HOME=c:\jdk1.2.2 >set PATH=%PATH%;%ANT_HOME%\bin" > > >my system variables: > >ANT_HOME "C:\ant" //do I >want a "/" at the end? > > NO >JAVA_HOME "C:\Program Files\Java\jdk1.5.0\bin\" //do I >want a "/" at the end? > > NO; also JAVA_HOME should be C:\Program Files\Java\jdk1.5.0 without double quotes around it >PATH "C:\Program Files\Java\jdk1.5.0\bin\" //do I >want a "/" at the end? > > No also no double quotes >what should the value of PATH be? i'm using start/settings/control >panel/system/advanced/environmental variables/system variables/ to >set/get this info. I prefer this method to set the var's because I >can check that they have the correct values, versus clobbering(?) >>from the command line. am I alone in finding this arcane? For >instance, is PATH specific to java, or do other applications use that >variable? > PATH is used by the command interpreter to find a command that you want to start, without you having to type in the full path where it is. If C:\Program Files\Java\jdk1.5.0\bin is in the path, then you can type "java" in a DOS box, and the system will understand that you want to run C:\Program Files\Java\jdk1.5.0\bin\java.exe >from the general nature of the word "path" I infer many >different applications would use this variable, it strikes me as odd >that it should be the JDK's path..? sorry for the digression, pls >just help me set these variables so everything works, the why is >incidental at this point :) thanks, Thufir --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org