Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 61481 invoked by uid 500); 3 Jul 2001 04:32:29 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 61469 invoked from network); 3 Jul 2001 04:32:27 -0000 Message-ID: <20010703043233.1059.qmail@web14905.mail.yahoo.com> Date: Mon, 2 Jul 2001 21:32:33 -0700 (PDT) From: Arun Gupta Subject: Not able to find modern/classic compiler To: ant-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I'm starting to use ANT for the first time. I downloaded ver 1.3 from jakarta.apache.org and wrote a vanilla "Hello World" example. Then I'm trying to build the example. However I'm getting the following: Buildfile: build.xml init: compile: [javac] Modern compiler is not available - using classic compiler [javac] Compiling 1 source file to /home/arung/workarea/ant/hello/build BUILD FAILED /home/arung/workarea/ant/hello/build.xml:24: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. Total time: 2 seconds JAVA_HOME is initialized to the appropriate directory, in build.xml, in ant script and in environment variables. What could be the problem ? Thanks, -Arun __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/