OK. I *think* I have a solution.
Ant could not pick up the environment variable without some help.
Issue described in
https://stackoverflow.com/questions/17571595/env-java-home-not-found-ant
HTH & YMMV
Answer ...
Step 1. Set Operating System Environment variable
=
>
> Many years ago (10+?) I used a relative path, but that is not good enough
> because the relative path is different depending on if you are running unit
> tests for an individual module, or for the whole module suite.
>
> Any suggestions would be most appreciated.
>
I would check if I can use