You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Laurence Mastrorillo <ma...@medias.cnes.fr> on 2003/01/07 12:20:47 UTC
executable attribute of javac task
hi all,
I am trying to use the "executable " attribute of the javac task to
compile an applet under jdk1.1, whereas my JAVA_HOME is set to jdk1.4.
Here is my target :
<property name="jdk1.1" value="/usr/local/jdk118_v3/bin/javac"/>
<target name="compile" depends="clean">
<javac srcdir="${package.de}:${basedir}"
destdir="${build}"
fork="true" executable="${jdk1.1}"
compiler="javac1.1"
excludes="servlet/**,test/**,applet/**">
</javac>
</target>
and the error i got :
[javac] javac was not found in
/usr/local/j2sdk1.4.1_01/bin/i686/green_threads/javac
BUILD FAILED
Any clue????
Thanks
Laurence
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>