Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 46077 invoked from network); 16 Feb 2002 18:03:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Feb 2002 18:03:08 -0000 Received: (qmail 5851 invoked by uid 97); 16 Feb 2002 18:03:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5788 invoked by uid 97); 16 Feb 2002 18:03:02 -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 5772 invoked from network); 16 Feb 2002 18:03:02 -0000 Message-ID: <20020216180256.25289.qmail@web20805.mail.yahoo.com> Date: Sat, 16 Feb 2002 10:02:56 -0800 (PST) From: Jonathan Locke Reply-To: jonl@muppetlabs.com Subject: Re: jdk 1.4 classic To: Ant Users List In-Reply-To: <002801c1b6bd$1e206c00$44246b3e@platon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N good idea! just tried it and unfortunately, i get this when i use "modern" or "javac1.4": [javac] Modern compiler is not available - using classic compiler BUILD FAILED t:\config\Build.xml:53: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. it kindof looks like the problem is that the taskdefs.compilers package doesn't yet have a Javac14.java file yet. hmmm... so i just figured out a workaround... by setting fork=true on javac, it works. this must mean that the use of the "internal" compiler (within the same vm) isn't yet supported for jdk 1.4. which is fine... although rough on those of us who have slow machines... but it would be nice if it were documented somewhere more prominently. a nice big red "Note: ..." at the top of the javac taskdef would be perfect until internal compiling is supported on jdk 1.4. jon --- max@yahoo.com wrote: > Could it not be because the classic compiler (and hence the --classic > option) is removed from JDK 1.4 ? > > With hope > Max > ----- Original Message ----- > From: "Jonathan Locke" > To: > Sent: Friday, February 15, 2002 7:27 PM > Subject: jdk 1.4 classic > > > > > > ant rocks! and love the new logo. > > > > having this little problem with jdk 1.4 though... > > > > t:\config\Build.xml:53: Cannot use classic compiler, as it is not > available A > > common solution is to set the environment variable JAVA_HOME to your jdk > > directory. > > > > my JAVA_HOME directory IS properly set. > > > > my wild guess is that jdk1.4 changed some internal detail of how > > javac is invoked that ant was depending on. > > > > anyone else seeing this problem? > > > > thanks! > > > > jon > > > > > > __________________________________________________ > > Do You Yahoo!? > > Got something to say? Say it better with Yahoo! Video Mail > > http://mail.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: