ant --noconfig -version
#
ant -version
#
locate weblogic
#
unset CLASSPATH
#
unset PATH
that's the problem...thanks
> Possibly ANT_HOME is wrong.
>
> Should be ANT_HOME=/usr/share/ant <== note, no /bin
>
> Then you'll need to change your path so that it is ANT_HOME/bin and so
> on.
>