ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: NullPointerException
Date Fri, 09 Mar 2001 15:27:36 GMT
Stefan Bodewig <> wrote:

> Chris Stillwell <> 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
> Should happen automatically, when you set JAVA_HOME to
> /usr/java_dev2/

Nonsense, sorry. 

rt.jar will be in your CLASSPATH anyway (well, not in the environment
variable, but the VM will use it automatically) on any JDK >= 1.2.

What does java -version tell you? Are you running the java executable
you want to run?


View raw message