ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajesh k <rajesh_ant1...@yahoo.com>
Subject RE: org/apache/tools/ant/launch/Launcher
Date Wed, 09 Jun 2004 23:17:42 GMT
Mani,
The following are the settings I made:
 
export ANT_HOME=/home/msomipal/tmp/apache-ant-1.6.1
export PATH=$ANT_HOME/bin:$PATH
export CLASSPATH=$ANT_HOME/lib:$CLASSPATH

Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/tools/ant/
launch/Launcher

I tried unsetting the CLASSPATH. 

Thanks,
Rajesh

"Mani G. Iyer" <iyer@rcn.com> wrote:
Rajesh:
Is /usr/bin the first path in your PATH env variable?
Just to make sure,
put $ANT_HOME/bin as the first path in your PATH env
variable. Let me
know how that goes. 
mani

-----Original Message-----
From: rajesh k [mailto:rajesh_ant1234@yahoo.com] 
Sent: Wednesday, June 09, 2004 3:13 PM
To: user@ant.apache.org
Subject: org/apache/tools/ant/launch/Launcher

Hi,
I am getting the following error:

I downloaded ant 1.6.1
and set the environment variables ANT_HOME, PATH,
JAVA_HOME .
When I run the command ant, I get the following error.
Is there anything I am missing.

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher

I used Ant on many development boxes. This problem
seems to be specific to that box only.

There is an old version of ant installed in /usr/bin.

Any help is greatly appreciated.

Thanks,
Rajesh




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@ant.apache.org
For additional commands, e-mail:
user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@ant.apache.org
For additional commands, e-mail:
user-help@ant.apache.org



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message