Im trying to get there, I can clean, compile and no error as soon as i run "ant execute" i also get that error. but i downloaded some ant example on the Internet and executed it in comparison to my application but it works and mine doesn't want to.

First, the classpath id should be a simple identifier. So you might want to use something like this:

Second, you didn't show us the <java> task declaration, we need to see that to ensure that you reference the classpath correctly. Basically you want to add a classpathref that uses the path's id. In other words:

Third, there are a couple of typos the <path> you posted. I hope those typos are not in your actual build script.

If none of this helps, post the full build.xml file and the full output when you run the build.

P.S. I split your post into a separate topic because it is usually not a good idea to ask new questions on threads that are very old.