From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24771 invoked by alias); 7 Aug 2009 12:59:02 -0000 Received: (qmail 24756 invoked by uid 22791); 7 Aug 2009 12:59:01 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f225.google.com (HELO mail-fx0-f225.google.com) (209.85.220.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Aug 2009 12:58:54 +0000 Received: by fxm25 with SMTP id 25so1377924fxm.29 for ; Fri, 07 Aug 2009 05:58:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.59.145 with SMTP id l17mr3107782bkh.197.1249649931854; Fri, 07 Aug 2009 05:58:51 -0700 (PDT) Date: Fri, 07 Aug 2009 12:59:00 -0000 Message-ID: Subject: ant with gcc From: David Michel To: java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00013.txt.bz2 Hi All, I have an issue with using ant with gcc: While with Sun, I can simply set JAVA_HOME as such: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.14/ so that ant can find /usr/lib/jvm/java-6-sun-1.6.0.14/lib/tools.jar (which is essentially $JAVA_HOME/lib/tools.jar) Somehow, I have trouble to do the same with my install of gcc: 'locate tools.jar' returns '/local/gcc-4_4-branch/install/lib/jvm/lib/tools.jar' so that I've put: export JAVA_HOME=/local/gcc-4_4-branch/install/lib/jvm/ But then, I get this: $ ant Unable to locate tools.jar. Expected to find it in /local/gcc-4_4-branch/install/lib/tools.jar Buildfile: build.xml does not exist! Build failed Any clues ? Cheers David