Sorry, never mind, i'm a big dummy.
ant uses JAVA_HOME.
On 4/19/22 12:17, Dave Brosius wrote:
Hi folks,
Kind of stumped here, i am testing moving from jdk8 to 17, and have
changed my <javac>'s task to have attribute target="17". When i do so,
i get
[javac] javac: invalid target release: 17
[javac] Usage: javac <options> <source files>
Which is emitted from javac itself. Oddly, if i run ant with -v, i get
the raw javac line, and if i copy and paste that raw javac line, it
seems to work fine.
Anyone have idea what i'm doing wrong? I'm running in linux, all
within the same console.
-dave
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org