Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 96501 invoked from network); 9 Sep 2009 21:35:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 21:35:49 -0000 Received: (qmail 84049 invoked by uid 500); 9 Sep 2009 21:35:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83963 invoked by uid 500); 9 Sep 2009 21:35:48 -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 83953 invoked by uid 99); 9 Sep 2009 21:35:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 21:35:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of v.kris21@gmail.com designates 209.85.219.224 as permitted sender) Received: from [209.85.219.224] (HELO mail-ew0-f224.google.com) (209.85.219.224) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 21:35:39 +0000 Received: by ewy24 with SMTP id 24so4354720ewy.22 for ; Wed, 09 Sep 2009 14:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2vPhwU3/tH3A23aplW65ql/R5Z9knWFw2yl1RiZKczk=; b=ohWTQGVQX0AOBDdg/w3cNkEbvwZbetsaTert6TX+42WbpvXbJ+eumoA2aPgO6DyBEw qmFlQmfc+ka8P4kjSZwSZHHljyspblHNwXlc4EnwW1xn28Y3auPsvDq4gg0CED4dmKiw WvlaJ07wPnkZA1Pj0F5NUeFajJ2BmuCqZyoUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tvSDK7JHFT9PBxpv/X9wxlduQfoUUxRZYW6FAtTtpOxaIj57pIkX5AqmiMbx5KRAFZ tqio9XDqDDWnEvbNUBv4anZsDNVS5SQ8wsd3Kof1St6Op8AjfYWHqwCzSDVMFYrMk25b nILfZ7sLX0vutxus24H+oUjiH99AVPN6Z3e9U= MIME-Version: 1.0 Received: by 10.216.53.83 with SMTP id f61mr172247wec.33.1252532117758; Wed, 09 Sep 2009 14:35:17 -0700 (PDT) In-Reply-To: <519c1a0c0909091419l5fc9549br9c04fb24710cc611@mail.gmail.com> References: <1252531258.4314.13.camel@LX1> <519c1a0c0909091419l5fc9549br9c04fb24710cc611@mail.gmail.com> Date: Wed, 9 Sep 2009 17:35:17 -0400 Message-ID: Subject: Re: path problems in build.xml From: veena pandit To: Ant Users List Content-Type: multipart/alternative; boundary=0016e6db6811f2e1d804732bdb0c X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db6811f2e1d804732bdb0c Content-Type: text/plain; charset=ISO-8859-1 Anybody want to take a shot at my problem? When I do ant compile.service on the command line, I get an error saying that it cant find the import. Thanks, Sonia On Wed, Sep 9, 2009 at 5:19 PM, Greg Roodt wrote: > Hi > > I think you've answered your own question. Its looking for a JDK, but your > JAVA_HOME references the JRE. > > Try setting JAVA_HOME to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0 > > Greg > > > > > > On Wed, Sep 9, 2009 at 10:20 PM, Kerry Scott >wrote: > > > Hi > > I have problems running Ant and I am sure that it is somehow a PATH > > problem but I have wrestled it to my death for 48 hours and would love > > some ideas. > > Platform - Mandriva Linux 2009 which has an Ant RPM - I have deleted it > > and tried to use the version downloaded - it didn't come with Ant but > > Ant.bat, Ant.cmd were included so I copied the Ant shell program from > > the Mandriva RPM release > > Symptoms: if I don't set ANT_HOME it cannot find the standard Java class > > libraries so the compile dies on java.lang.Object cannot be resolved. > > If I do set ANT_HOME I get the error: Unable to find a javac compiler; > > com.sun.tools.javac.Main is not on the classpath. > > Perhaps JAVA_HOME does not point to the JDK. > > It is currently set to "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre" > > > > Any ideas > > > > Cheers > > > > Kerry > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > --0016e6db6811f2e1d804732bdb0c--