Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> Chris Stillwell <[EMAIL PROTECTED]> 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?

Stefan

Reply via email to