ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: ant / <javac> with jdk 5
Date Wed, 18 Apr 2007 10:06:33 GMT
Rebhan, Gilbert wrote:
> So if i need to support builds for jdk 1.5 i have to
> go via path/to/jdk1.5/bin/javac.exe and <exec> , right ?

I think you can probably get javac to switch by


you have to set up the classpath to include all the jdk5 jars, because 
you will probalby need to strip out ant and the jdks runtime from the 
classpath handed to javac.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message