This is strange; when I did as you suggested, then executed
d/ant/bin/ant.bat it started up fine!

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:40 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Ant on Win2K


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 <[EMAIL PROTECTED]> 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
>


=====
([EMAIL PROTECTED])



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

Reply via email to