Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 70030 invoked from network); 27 Jun 2005 17:01:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2005 17:01:02 -0000 Received: (qmail 31406 invoked by uid 500); 27 Jun 2005 17:00:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 31365 invoked by uid 500); 27 Jun 2005 17:00:54 -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 31352 invoked by uid 99); 27 Jun 2005 17:00:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 10:00:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.39.179] (HELO web52902.mail.yahoo.com) (206.190.39.179) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Jun 2005 10:00:53 -0700 Received: (qmail 33084 invoked by uid 60001); 27 Jun 2005 17:00:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gIaJkW4UjSfPCUcSDDLml83Q/mf6QD1Z2wcwGNZiWpCpfQNYtLMEiV7lTUffn7UizOIFiq4WiWDRWgftdSq11vL8Z2lVsVlTRiICUzLoAupLtdfVQBRmPP0TdQIq+LQntNHyISmzCotgtYYYuFkC9JD7lOrrB4MixWtNCHwULIs= ; Message-ID: <20050627170050.33082.qmail@web52902.mail.yahoo.com> Received: from [66.28.87.10] by web52902.mail.yahoo.com via HTTP; Mon, 27 Jun 2005 10:00:49 PDT Date: Mon, 27 Jun 2005 10:00:49 -0700 (PDT) From: Ivan Ivanov Subject: Re: problem with ant under linux To: Ant Users List In-Reply-To: <42C02EE8.2070203@clt-st.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Diana Steffen wrote: > Hi Ivan, > > > What linux distribution are you using? > > Fedora Core 3. I really thought it was FC3. > > Can you check the value of JAVA_HOME (echo > $JAVA_HOME) > > /usr/java/jdk This is where you have installed your own jdk. > > > and the location of java executables: > > /usr/bin/java > /usr/bin/javac And these are GCJ executable. Now you can fix that problem by setting PATH variable in this way: export PATH=$JAVA_HOME\bin:$PATH Thus Sun JDK executables will be found before GCJ executables are found. HTH Ivan > > > Command line argument -cp is used (at least with > Sun > > JDK) to specify the classpath. > > I know, I just don't know how to interpret this in > ant context. :-( > > > > > HTH > > Ivan > > > > > > --- Diana Steffen wrote: > > > > > >>Hi, > >> > >>I just installed ant under linux and I set > >>$PATH and $ANT_HOME like they say in the manual. > >>$JAVA_HOME was already set. > >> > >>Unfortunately it does not seem to work, > >>even with an empty CLASPPATH. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org