ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: NullPointerException
Date Fri, 09 Mar 2001 15:36:16 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:
> Stefan Bodewig <bodewig@apache.org> wrote:
> 
> > Chris Stillwell <Chris.Stillwell@wcom.com> wrote:
> > 
> >> I am only seeing this problem on AIX.  I was able to "get around"
> >> this error by setting the CLASSPATH in the ant script to include
> >> the rt.jar as such: CLASSPATH=/usr/java_dev2/jre/lib/rt.jar
> 
> What does java -version tell you? Are you running the java executable
> you want to run?

That's my suspicion as well. Try setting $JAVACMD to the full-path of your
java executable (eg., export JAVACMD=/usr/java_dev2/bin/java).

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message