Using Ant in a local build no longer works.

I’m trying to build the jedit package locally, but I keep getting an error:

java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher

It seems to build fine on the server, but I can’t for the life of me get it to build locally. Any ideas why?