Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 1627 invoked from network); 2 Mar 2001 15:32:08 -0000 Received: from unknown (HELO tobor.gmrmarketing.com) (169.207.185.153) by h31.sny.collab.net with SMTP; 2 Mar 2001 15:32:08 -0000 Received: from localhost (mkozlowski@localhost) by tobor.gmrmarketing.com (8.9.3/8.9.3) with ESMTP id JAA00553 for ; Fri, 2 Mar 2001 09:32:11 -0600 X-Authentication-Warning: tobor.gmrmarketing.com: mkozlowski owned process doing -bs Date: Fri, 2 Mar 2001 09:32:10 -0600 (CST) From: Mike Kozlowski To: ant-user@jakarta.apache.org Subject: Re: "Cannot use classic compiler, as it is not available" problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On 2 Mar 2001, Stefan Bodewig wrote: > It doesn't look as if your CLASSPATH definition from above gets passed > to Ant, otherwise tools.jar would be included in this -classpath > argument for the javac task as well. > > Could you add an somewhere to > see which CLASSPATH Ant has been invoked with? I've managed to solve the problem: While I was trying various things to get it to work, I ran ant with the -debug flag, and noticed things that looked odd in the properties that are displayed; sure enough, it turns out that what I thought was a straight-up JDK 1.2.2 turned out to be a "release candidate" from blackdown.org. After installing the official Sun JDK, the problems went away. My thanks for the help. -- Mike Kozlowski mkozlowski@gmrmarketing.com