I have Win 2000 Professional.  Ant works fine.
Make sure to set the following environment variables:
JAVA_HOME
ANT_HOME

-mark


> -----Original Message-----
> From: Mark Jaffe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 6:18 PM
> To: [EMAIL PROTECTED]
> Subject: Ant on Win2K
> 
> 
> 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

Reply via email to