My class path has gotten too long, and when I use it in the Ant, it does not
compile.  Is there are way to make long class paths work in Ant in Windows
2000?

Thanks.

Afz


-----Original Message-----
From: Mark Chamness [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Ant on Win2K


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

-------------------------------------------------------------------------- 
Note:  The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. 
--------------------------------------------------------------------------

Reply via email to