How can I tell ant to use a specific javac executable from the command line?
ant
I have an installation of gcj, built as part of gcc, within a library we di
If you are using Ant 1.6 or higher, you can set the javac attribute fork="yes". This gives you the ability to specify the path of your executable when using jikes, jvc, gcj, sj, or whatever version of javac you are using.
javac
fork="yes"