You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Pito Salas <pi...@eroom.com> on 2002/11/03 17:34:10 UTC

RE: Ant and Java 1.4 - resend with typo corrected

I am having trouble convincing Ant to use Java 1.4 as the compiler for javac
tasks.
 
If I set build.compiler to either modern or javac1.4 it always picks Javac
1.3.
 
Can anyone point me in the right direction?
 
Thanks
 
Pito

RE: Ant and Java 1.4 - resend with typo corrected

Posted by Jacob Kjome <ho...@visi.com>.
Do you have a system variable named JAVA_HOME set?  Where does it point 
to?  Do you have JAVA_HOME/bin in your system PATH?

Jake

At 11:34 AM 11/3/2002 -0500, you wrote:
>I am having trouble convincing Ant to use Java 1.4 as the compiler for javac
>tasks.
>
>If I set build.compiler to either modern or javac1.4 it always picks Javac
>1.3.
>
>Can anyone point me in the right direction?
>
>Thanks
>
>Pito