You need to install Ant first. Then, you need to build Velocity: cd jakarta-velocity/build ant Then, you can run this Anakia example: cd jakarta-velocity/examples/anakia/build ant thanks.