ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Run ant, get java
Date Sun, 24 Sep 2006 14:21:35 GMT
If on windows:
make sure that %CLASSPATH% or %ANT_HOME% or %JAVA_HOME%
does NOT contain a quote (" or ') and does NOT end in \ or /

It is recommended not to use CLASSPATH with ant.

try ant -noclasspath -version
Peter

On 9/24/06, Aaron Green <joseph.green@usm.edu> wrote:
>
> I'm trying to install Ant and was getting a NoClassDefFoundError when
> I tried to run ant -version, but changed my classpath, and now when I
> type ant -version, I get the java help screen telling me what commands
> java offers.  What am I doing wrong?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message