Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 75160 invoked from network); 15 Aug 2002 22:10:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 22:10:26 -0000 Received: (qmail 26436 invoked by uid 97); 15 Aug 2002 22:10:47 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 26420 invoked by uid 97); 15 Aug 2002 22:10:46 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 26408 invoked by uid 98); 15 Aug 2002 22:10:46 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 15 Aug 2002 18:10:19 -0400 From: Eric Astor Subject: Re: Error: Cannot use classic compiler To: "Dirk V. Schesmer" , Ant Users List Message-id: <002b01c244a8$8b130830$6801a8c0@fusionnet.fusiontech.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <002001c24491$26ed5570$6601a8c0@eric> <1029443510.3d5c0fb69ea5c@webmail.t-online.de> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If anyone is having the below problem, I found the solution. First, I was having this problem under 1.4.x and 1.3.x. This solution should work under both: Copy tools.jar from the /lib subdirectory of the jdk directory to the /jre/lib/ext subdirectory of the jdk directory. Nice and simple, a bit of a kludge, but it works! Eric ----- Original Message ----- From: "Dirk V. Schesmer" To: "Ant Users List" ; "Eric Astor" Sent: Thursday, August 15, 2002 4:33 PM Subject: Re: Error: Cannot use classic compiler > Eric, > I have the same problem as you have when using Sun JDK 1.4.1 and Ant > 1.4 or 1.5. > When I use JSK1.3.x instead, it works! I posted the same question > yesterday, but did not yet receive an answer. > > Dirk > > Eric Astor schrieb: > > I'm trying to run my first build script under ant. The > > error message that is returned is as follows: > > > > Cannot use classic compiler, as it is not available. A > > common solution is to set the environment variable > > JAVA_HOME to your jdk directory. > > > > I've verified that JAVA_HOME is set correctly, that the > > ext directory of my JRE subdirectory under my jdk1.3.1_04 > > is empty, and that tools.jar is on both my classpath and > > ant's generated classpath. Nothing seems to get rid of > > this error. Any ideas? > > > > Thanks, > > Eric Astor > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: