linux-MTGSC:/usr/local/src/glassfish # ./lib/ant/bin/ant -f setup.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
linux-MTGSC:/usr/local/src/glassfish #

i got the following error while installing glassfish on SLES10. i have previously installed glassfish on other servers and they all are working fine. i had a problem with this installation so i deleted it by using rm-rf and i got this error pls enlighten me what i did wrong and how to correct it. thanks!