From user-return-58153-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Sep 25 13:13:42 2006 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 93092 invoked from network); 25 Sep 2006 13:13:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 13:13:42 -0000 Received: (qmail 52736 invoked by uid 500); 25 Sep 2006 13:13:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 52216 invoked by uid 500); 25 Sep 2006 13:13:36 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 52205 invoked by uid 99); 25 Sep 2006 13:13:36 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 06:13:36 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=subnetrx@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=subnetrx@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.82.226 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.226] ([66.249.82.226:43876] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id D2/37-13750-AF5D7154 for ; Mon, 25 Sep 2006 06:13:30 -0700 Received: by wx-out-0506.google.com with SMTP id s8so1735288wxc for ; Mon, 25 Sep 2006 06:13:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=mtLNJlIuyyHF0eeYs/zWlk/53ZeuobeG40CeXkC4iiGwpYnFeqCZCWnoNuoBaKj4tOV4gDZp6cQIjSs6b4Hl2XAa2MzjLD+tu9TjczBwPluLbdoev7t56PGLX5DK/bv0ozR7tAi7ioJrO5JCEg3loRlwPvcJ0KFAvP2zccVM8u8= Received: by 10.70.78.4 with SMTP id a4mr6596183wxb; Mon, 25 Sep 2006 06:13:24 -0700 (PDT) Received: by 10.70.17.11 with HTTP; Mon, 25 Sep 2006 06:13:23 -0700 (PDT) Message-ID: <42af3c940609250613g7c93973erf3f2ff0818c2912@mail.gmail.com> Date: Mon, 25 Sep 2006 08:13:24 -0500 From: "Aaron Green" Sender: subnetrx@gmail.com To: "Ant Users List" Subject: Re: Run ant, get java In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42af3c940609231943j6305e2b2ta15a8dfc85a82d5e@mail.gmail.com> X-Google-Sender-Auth: 44b131f22150bb88 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, it was the ending / on ANT_HOME that seemed to be doing it. Now I can get the version, but it can't find tools.jar. It seems to be looking for it in ../lib of ANT_HOME which isn't where my jdk is located. If it did the same directory lookup for JAVA_HOME, it would be correct. Is there someway to set this? My JAVA_HOME looks to be correct since I can run java -version and get the newly installed update 8 version. I also have both paths in my path variable. On 9/24/06, Martin Gainty wrote: > ditto > when coding a SGML tag or ny special character start with &; as in the example > & > http://www.htmlgoodies.com/beyond/reference/article.php/3472611 > M- > ********************************************************************* > This email message and any files transmitted with it contain confidential > information intended only for the person(s) to whom this email message is > addressed. If you have received this email message in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > ----- Original Message ----- > From: "Peter Reilly" > To: "Ant Users List" > Sent: Sunday, September 24, 2006 10:21 AM > Subject: Re: Run ant, get java > > > > If on windows: > > make sure that %CLASSPATH% or %ANT_HOME% or %JAVA_HOME% > > does NOT contain a quote (" or ') and does NOT end in \ or / > > > > It is recommended not to use CLASSPATH with ant. > > > > try ant -noclasspath -version > > Peter > > > > On 9/24/06, Aaron Green wrote: > >> > >> I'm trying to install Ant and was getting a NoClassDefFoundError when > >> I tried to run ant -version, but changed my classpath, and now when I > >> type ant -version, I get the java help screen telling me what commands > >> java offers. What am I doing wrong? > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > >> For additional commands, e-mail: user-help@ant.apache.org > >> > >> > > -- Aaron Green Web Content Coordinator University of Southern Mississippi --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org