Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 13842 invoked from network); 17 Dec 2007 08:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2007 08:37:57 -0000 Received: (qmail 42551 invoked by uid 500); 17 Dec 2007 08:37:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41546 invoked by uid 500); 17 Dec 2007 08:37:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 41535 invoked by uid 99); 17 Dec 2007 08:37:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 00:37:44 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 08:37:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J4BTV-0008AW-6m for user@ant.apache.org; Mon, 17 Dec 2007 00:37:21 -0800 Message-ID: <14370152.post@talk.nabble.com> Date: Mon, 17 Dec 2007 00:37:21 -0800 (PST) From: jiechu To: user@ant.apache.org Subject: Re: Error starting modern compiler In-Reply-To: <45F65E8E.7050007@webnic.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jiechuluck@hotmail.com References: <45F65E8E.7050007@webnic.cc> X-Virus-Checked: Checked by ClamAV on apache.org I have resolved this. Please check the enviroment settings of your machine nad make sure if the JDK version matchs tools.jar. To a norther word, sometimes you can leave %CLASSPATH% empty and point it in a bat file. Jacky-9 wrote: > > Hi guys, > > I encounter this error when trying to build my project (it works fine > previously): > > BUILD FAILED > /www/dist/production/common/build.xml:78: Error starting modern compiler. > > Line 78 is: > > encoding="UTF-8"> > > I have tried: > encoding="UTF-8"> > encoding="UTF-8"> > > The error is still the same. > > I upgraded ant from 1.6.5 to 1.7.0 and the error persists. > Any ideas guys? > > Linux dev.hkdnr.hk 2.4.20-021stab028.17.777-smp > java version "1.5.0_10" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) > Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing) > > > Thanks. > > -- > Warm regards, > Jacky Wong > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > -- View this message in context: http://www.nabble.com/Error-starting-modern-compiler-tp9450044p14370152.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org