Make sure your ant jar files are "readable" by whatever user you are when you build.
For instance can you do this (as the user):
unzip -l ${ANT_HOME}/lib/ant.jar
Scot
Cristina Surroca wrote:
Hi!
I'm doing a project with Postgresql and I need to use JDBC.
I've got a problem installing ant (I use SUSE). When I try to execute ant is
trhown this exeption:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
my PATH:
Does anyone know what I'm doing wrong?
Thanks
Cris..
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster