ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salman, Afzal" <>
Subject Windows 2000: Class Path is too Long
Date Sun, 08 Jul 2001 22:42:14 GMT
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



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

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


> -----Original Message-----
> From: Mark Jaffe []
> Sent: Thursday, May 24, 2001 6:18 PM
> To:
> 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. 

View raw message