If on windows:
make sure that %CLASSPATH% or %ANT_HOME% or %JAVA_HOME%
does NOT contain a quote (" or ') and does NOT end in \ or /

It is recommended not to use CLASSPATH with ant.

try ant -noclasspath -version
Peter

On 9/24/06, Aaron Green <[EMAIL PROTECTED]> wrote:

I'm trying to install Ant and was getting a NoClassDefFoundError when
I tried to run ant -version, but changed my classpath, and now when I
type ant -version, I get the java help screen telling me what commands
java offers.  What am I doing wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to