Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 6788 invoked from network); 13 Jul 2006 11:58:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 11:58:06 -0000 Received: (qmail 9095 invoked by uid 500); 13 Jul 2006 11:58:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 9005 invoked by uid 500); 13 Jul 2006 11:58:01 -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 8994 invoked by uid 99); 13 Jul 2006 11:58:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 04:58:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 04:57:57 -0700 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 237CF3708A for ; Thu, 13 Jul 2006 12:57:36 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b81EU4QhFSyP for ; Thu, 13 Jul 2006 12:57:32 +0100 (BST) Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [16.25.191.14]) by tobor.hpl.hp.com (Postfix) with ESMTP id A8C6537089 for ; Thu, 13 Jul 2006 12:57:32 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 1F637CE58 for ; Thu, 13 Jul 2006 12:57:31 +0100 (BST) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotkin.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0ms2U6UQY1hQ for ; Thu, 13 Jul 2006 12:57:27 +0100 (BST) Received: from timmay.hpl.hp.com (timmay.hpl.hp.com [16.25.171.20]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 0CCBFCF3A for ; Thu, 13 Jul 2006 12:57:26 +0100 (BST) Received: from [16.27.195.39] ([16.27.195.39]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id k6DBvMpf015246 for ; Thu, 13 Jul 2006 12:57:22 +0100 (BST) Message-ID: <44B63536.4010400@apache.org> Date: Thu, 13 Jul 2006 12:57:42 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: AW: javac task and JAVA_HOME when calling from Java code References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jan.Materne@rzf.fin-nrw.de wrote: >>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 >> >>JAVA_HOME and property java.home both point to the base dir of the jdk. > > > really a jDk? > Is there a ${java.home}/bin/javac ? > > I've just tweaked ant1.7 to print out the value of java.home when it prints this error out. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org