hi Alternatively you can try setting the executable attribute in <javac/> task
regards sunil prabhakaran On 10/9/00, Martin Gainty <[EMAIL PROTECTED]> wrote: > http://ant.apache.org/manual/running.html > > ant -Djava.home= > > Martin-- > ----- Original Message ----- > From: <Knuplesch>; "Jürgen" <[EMAIL PROTECTED]> > To: <user@ant.apache.org> > Sent: Tuesday, October 09, 2007 12:16 PM > Subject: Javac > > > Hi, > > I want to use ANT with on a machine with several JDKs and JREs. > > How can I tell ANT which compiler to choose, without setting JAVA_HOME? > > The standard JAVA is a JRE, and so the compile task doesnt work at all. > > Greetings > > > > -- > Jürgen Knuplesch www.icongmbh.de > icon Systemhaus GmbH Tel. +49 711 806098-275 > Sophienstraße 40 > D-70178 Stuttgart Fax. +49 711 806098-299 > > Geschäftsführer: Uwe Seltmann > HRB Stuttgart 17655 > USt-IdNr.: DE 811944121 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]