Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 26940 invoked from network); 15 Mar 2007 03:44:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 03:44:03 -0000 Received: (qmail 20570 invoked by uid 500); 15 Mar 2007 03:44:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 20539 invoked by uid 500); 15 Mar 2007 03:44:11 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 20530 invoked by uid 99); 15 Mar 2007 03:44:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 20:44:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [32.97.110.150] (HELO e32.co.us.ibm.com) (32.97.110.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 20:43:58 -0700 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.12.11.20060308/8.13.8) with ESMTP id l2F3g5vo010126 for ; Wed, 14 Mar 2007 23:42:05 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l2F3haMW058900 for ; Wed, 14 Mar 2007 21:43:36 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l2F3hZ9e015053 for ; Wed, 14 Mar 2007 21:43:35 -0600 Received: from [127.0.0.1] (sig-9-76-199-235.mts.ibm.com [9.76.199.235]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l2F3hQMW014614 for ; Wed, 14 Mar 2007 21:43:31 -0600 Message-ID: <45F8C0DE.3040002@apache.org> Date: Wed, 14 Mar 2007 20:43:26 -0700 From: Daniel John Debrunner User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: derby-dev Subject: What java compiler does the build default to? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I was wondering what is the defined java compiler that the build uses when not setting build.compiler? BUILDING.txt has this info which isn't that helpful. ----- BUILDING.txt extract ----- - build.compiler This variable defines the java compiler to be used for build. The default value of this variable is set to use the standard java compiler for build. -------------------------------- I looked at the output of an ant -verbose but I couldn't see anything that indicated the path to the compiler it uses. Derby uses the 'modern' setting for the javac task but does not set the 'fork' property. Does this mean ant is calling some java api to the compiler and uses $JAVA_HOME as the jar files for the compiler? (My situation is that JAVA_HOME does not match the JDK 1.4.2 I have setup in my ant.properties and I'm wondering which compiler is being used.) Dan.