ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Escudero <>
Subject problem with the installation
Date Mon, 18 Jun 2012 01:30:24 GMT
When I type "ant":

root@debian6:~# ant
Exception in thread "main" java.lang.NoClassDefFoundError: 
Caused by: java.lang.ClassNotFoundException:
         at Method)
         at java.lang.ClassLoader.loadClass(
         at sun.misc.Launcher$AppClassLoader.loadClass(
         at java.lang.ClassLoader.loadClass(
Could not find the main class:  
Program will exit.

This is my file .bashrc:

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export ANT_HOME=/usr/ant/apache-ant-1.8.4/bin
export PATH=${PATH}:${ANT_HOME}

I tested the paths and It was ok

Can any help me?

Jorge Escudero
sorry about my english...uff

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message