ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Ant on Win2K
Date Fri, 25 May 2001 01:39:37 GMT
If you're running the ant.bat script, try bracketing the java command-line
(ie., the ":runAnt" block) with @echo on/@echo off, so you can see what
the actual command-line looks like -- that might help you see why java's
not finding the Ant classes.

Diane

--- Mark Jaffe <mjaffe@eturn.com> wrote:
> Folks,
> 
> I'm wondering if there is a problem with Ant on Windows 2000
> Professional. I
> have a new environment I am setting up, and everything seems to be
> according
> to the book. Yet when I run ant, it immediately fails with this message
> (even with -debug):
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
> 
> If I issue the java -version command I get:
> 
> java version "1.3.0"
> Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
> Java HotSpot (TM) Client VM (build 1.3.0-C, mixed mode)
> 
> Does this have any clues for anyone? It's working fine on NT4 for me.
> 
> Mark
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Mime
View raw message