Hello Andreas.
Yes, my ant xml file includes the line
<property environment="env"/>
I am using Java 1.8.0_161
I cannot find another version of izPack on my path or system. This is the first time I've installed version 5; we previously used version 4 via the standalone compiler jar, which I have deleted from the system. I actually don't have izPack on my $PATH, if that's what you're referring to.
Running ant in debug mode seems to indicate it is loading from the expected location; I see output indicating it is loading the expected classpath, and finding the files in the appropriate location:
fileset: Setup scanner in dir /home/chris/izpack/lib with patternSet{ includes: [*.jar] excludes: [] }
Finding class com.izforge.izpack.ant.IzPackTask
Loaded from /home/cwdicki/izpack/lib/izpack-ant-5.1.3.jar com/izforge/izpack/ant/IzPackTask.class
Thanks,
-Christopher