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.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.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!