ahh, thanks. I had JAVA_HOME set to jdk/bin after I removed that and
made it the home directory of the jdk, the error isn't there anymore.
Thanks for all your help.
On 9/25/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
Aaron Green wrote:
> Thanks, it was the ending / on ANT_HOME that seemed to
Aaron Green wrote:
Thanks, it was the ending / on ANT_HOME that seemed to be doing it.
Now I can get the version, but it can't find tools.jar. It seems to
be looking for it in ../lib of ANT_HOME which isn't where my jdk is
located. If it did the same directory lookup for JAVA_HOME, it would
be
ROTECTED]>
To: "Ant Users List"
Sent: Sunday, September 24, 2006 10:21 AM
Subject: Re: Run ant, get java
> 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 recommend
Message -
From: "Peter Reilly" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Sunday, September 24, 2006 10:21 AM
Subject: Re: Run ant, get java
> If on windows:
> make sure that %CLASSPATH% or %ANT_HOME% or %JAVA_HOME%
> does NOT contain a quote (" or ')
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 <[EMAIL PROTECTED]> wrote:
I'm trying to install Ant
Which OS are you running?
Aaron Green 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?
--