So for reason of running many projects, I don\'t want to change JAVA_HOME variable (1.6) but I would like ant to run and use 1.5 JDK.
I have manage to do this from Ecli
You can write your own script, called ant2 or similar, to execute ant from the JDK that you want and add it into the PATH.