I am running Ant 1.8.1 under Win 7. And my version of Java is 1.7_17.
I am adding the following 2 lines to my build file for diagnostics.
<echo message="java.version = ${ant.java.version}" /> <echo message="java.home = ${java.home}" />
And the result
[echo] java.version = 1.6 [echo] java.home = C:\Program Files\Java\jre7
Any idea what is going on?
Is it hard-coded in Ant 1.8.1 that the highest version of java that it can show is 1.6?
source share