ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Caponi" <don_alcap...@yahoo.com.sg>
Subject Running Ant gives Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/
Date Mon, 04 Feb 2002 03:35:19 GMT
Hi all,

I've just installed Ant1.4.1 from binary on Win98 according to the
installation manual.
Still, I get the following when I type 'ant' at command-line.

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

I set the environment variables as follows in autoexec.bat:

SET ANT_HOME=D:\ant1.4.1
SET PATH=%PATH%;%ANT_HOME%\bin;%ANT_HOME%\lib

Can anyone help?
Thanx!
Al


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Mime
View raw message