Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12800 invoked from network); 3 Apr 2006 17:15:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2006 17:15:16 -0000 Received: (qmail 68144 invoked by uid 500); 3 Apr 2006 17:15:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67798 invoked by uid 500); 3 Apr 2006 17:15:09 -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 67776 invoked by uid 99); 3 Apr 2006 17:15:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 10:15:08 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.155] (HELO web30902.mail.mud.yahoo.com) (68.142.200.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Apr 2006 10:15:07 -0700 Received: (qmail 22188 invoked by uid 60001); 3 Apr 2006 17:14:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1Wayfw3fuCIsOnfscfLeiOTAlUYmaIkvWnikD4PEvEUrmoZv+CZVFMGCi0bewXh+y8RZpxkqfMushwArQFDsBUUqefyG7nRGkXapJ6rwXOl26av3C2R99y2zDJ6s54chSQzlzryOZ9a7dUr4Z6Y72MdYDqkIHoSr38oTx4wE7+Q= ; Message-ID: <20060403171446.22186.qmail@web30902.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30902.mail.mud.yahoo.com via HTTP; Mon, 03 Apr 2006 10:14:46 PDT Date: Mon, 3 Apr 2006 10:14:46 -0700 (PDT) From: Matt Benson Subject: Re: Javac tasks (when calling from java) To: Ant Users List , Joe Moore In-Reply-To: <20060403171022.22702.qmail@web54703.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It would probably help if you give examples of the directories you are referring to. As far as I ever knew JDK and SDK were synonymous in terms of Java. -Matt --- Joe Moore wrote: > I've noticed that with Java 5, when you install it > it installs the JDK in a separate folde than the SDK > I think it used to be a subfolder of the SDK but is > now its own separate folder. This then puts the > tools.jar in the SDK and outside the CLASSPATH. > As a workaround I've added the full path to the > tools.jar file and that has resolved the issue. Not > sure if this is the best way, but something to look > for. > > Anyone else have this experience with Java 1.5? > > HTH, > > Joe Moorei_bugsy@yahoo.com > > ----- Original Message ---- > From: Oliver Schalch > To: user@ant.apache.org > Sent: Monday, April 3, 2006 10:19:22 AM > Subject: Javac tasks (when calling from java) > > Hi List, > > Another Problem... > > Calling ant from Java (inside a bigger project) > > Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the > classpath. Perhaps JAVA_HOME does not point to the > JDK > > Alright, ofcourse the JAVA_HOME are set correct. > > How could I fix that? > > Do I have to write a own classloader with the > tools.jar in it, and use > it with project#setClassLoader ? > > Any hints, please. > > > Thanks > Oliver > > > > -- > Oliver Schalch > oliver.schalch@wyona.com > Wyona Inc. - Open Source Content Management - > Apache Lenya > http://www.wyona.com > http://lenya.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org